Simple dockerized Symfony 4.0.4 with Nginx (debian), PostgreSQL (alpine) and PHP 7.1 (alpine) for development purpose.
- In the root directory of the project run
composer install && composer docker-start
- Try
http://localhost:8050
- Enjoy
List of useful commands
composer docker-start
- builds services, starts containerscomposer docker-up
- starts containers in backgroundcomposer docker-down
- stops and removes containerscomposer docker-stop
- stops containers without removing themcomposer docker-build
- builds servicescomposer docker-down-with-volumes
- stops and removes containers and volumes
List of useful scripts in docker/scripts
migrations
- executesdoctrine:migrations:migrate
in php containercache-clear
- executescache:clear
in php container