Skip to content

Boilerplate for running a php app with docker. Includes nginx, redis.

Notifications You must be signed in to change notification settings

InternationalCodeCouncil/docker-php-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker PHP Boilerplate

  • php: 7.4
  • nginx: 3.11
  • redis: 4

Docker boilerplate for quickly setting up a basic working php environment. Database not included. Feel free to modify for your own needs.

TIMEZONE=America/Chicago

# Basic symfony env var
APP_ENV=dev
APP_SECRET=4ed97b1ae17b2550a74e5bd20cdb7fa3

# Provide github token to composer for private repos
COMPOSER_AUTH='{"github-oauth":{"github.com":""}}'

WEB_PORT=8080
docker-compose up --build
http://localhost:8080

About

Boilerplate for running a php app with docker. Includes nginx, redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 98.6%
  • PHP 1.4%