GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - webdevops/php-docker-boilerplate: :stew: PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)

BranchesTags
Open more actions menu

Latest commit

 

History

596 Commits
596 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
backup
backup
 
 
bin
bin
 
 
docker
docker
 
 
documentation
documentation
 
 
etc
etc
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile.cloud
Dockerfile.cloud
 
 
Dockerfile.development
Dockerfile.development
 
 
Dockerfile.production
Dockerfile.production
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
docker-compose.cloud.yml
docker-compose.cloud.yml
 
 
docker-compose.development-reverse-proxy.yml
docker-compose.development-reverse-proxy.yml
 
 
docker-compose.development.yml
docker-compose.development.yml
 
 
docker-compose.production.yml
docker-compose.production.yml
 
 

Repository files navigation

PHP Docker Boilerplate

latest v5.2.0-beta3 License MIT

This is an easy customizable docker boilerplate for any PHP-based projects like Symfony Framework, CakePHP, Yii and many other frameworks or applications.

Supports:

  • Nginx or Apache HTTPd
  • PHP-FPM (with Xdebug)
  • MySQL, MariaDB or PerconaDB
  • PostgreSQL
  • Solr (disabled, without configuration)
  • Elasticsearch (disabled, without configuration)
  • Redis (disabled)
  • Memcached (disabled)
  • Mailcatcher (if no mail sandbox is used, eg. Vagrant Development VM)
  • FTP server (vsftpd)
  • PhpMyAdmin
  • maybe more later...

This Docker boilerplate is based on the Docker best practices and doesn't use too much magic. Configuration of each docker container is available in the docker/ directory - feel free to customize.

This boilerplate can also be used for any other web project. Just customize the makefile for your needs.

Warning: There may be issues when using it in production.

If you have any success stories please contact me.

You can use my Vagrant Development VM for this Docker boilerplate, e.g. for easily creating new boilerplate installations with short shell command: ct docker:create directory.

Table of contents

  • First steps / Installation and requirements
  • Updating docker boilerplate
  • Customizing
  • Services (Webserver, MySQL... Ports, Users, Passwords)
  • Docker Quickstart
  • Run your project
  • Container detail info
  • Troubleshooting
  • Changelog

Credits

This Docker layout is based on https://github.com/denderello/symfony-docker-example/

Thanks for your support, ideas and issues.

  • Ingo Pfennigstorf
  • Florian Tatzel
  • Josef Florian Glatz
  • Ingo Müller
  • Benjamin Rau
  • Philipp Kitzberger
  • Stephan Ferraro
  • Cedric Ziel
  • Elmar Hinz

Thanks to cron IT GmbH for inspiration.

Did I forget anyone? Send me a tweet or create pull request!

About

🍲 PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)

webdevops.io/projects/php-docker-boilerplate/

Topics

apache2boilerplatedockerdocker-boilerplateelasticsearchftpmail-sandboxmysqlnginxphpphp-fpmsolrsymfony

Resources

Readme
MIT license
Activity
Custom properties

Stars

563 stars

Watchers

32 watching

Forks

176 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.