Skip to content

docker-compose config for Symfony (^2.7 || ^3.0), nginx and mariadb.

License

Notifications You must be signed in to change notification settings

tseho/dotdocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotdocker

Please do not use it in production.

It's a docker/docker-compose config for Symfony (^2.7 || ^3.0), nginx and mariadb.

Expected Symfony structure is the one with web/app_dev.php

Installation

In your Symfony installation, run the following commands:

git clone --depth=1 --branch=master git@github.com:tseho/dotdocker.git .docker
cd .docker && rm -rf .git
./configure

Once installed, you can then start the containers with docker-compose when inside the .docker directory:

docker-compose up -d

PostgreSQL

You can easily replace mariadb by PostgreSQL, if needed, with small changes in the following files:

  • docker-compose.yml
  • .templates/docker-compose.override.osx.yml
  • .templates/docker-compose.override.unix.yml
  • app/Dockerfile

About

docker-compose config for Symfony (^2.7 || ^3.0), nginx and mariadb.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published