-
Create a
.env
from the.env.dist
file and adapt it according to the needs of the application$ cp .env.dist .env && vim .env
-
Build/run containers in detached mode
$ docker-compose build $ docker-compose up -d
-
Update your system's hosts file
-
Prepare the Symfony application
-
Update Symfony parameters (app/config/parameters.yml)
-
Composer install & create database
$ docker-compose exec php bash $ composer install $ sf doctrine:database:create $ sf doctrine:schema:update --force $ sf server:start 0.0.0.0:8000
-
-
Yarn
$ docker-compose run --rm nodejs yarn install $ docker-compose run --rm nodejs yarn run [command]
-
Notifications
You must be signed in to change notification settings - Fork 3
Docker stack for Symfony 3, included php7.2-fpm, RabbitMQ, Redis, Centrifugo
License
iliabox/docker-for-symfony
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Docker stack for Symfony 3, included php7.2-fpm, RabbitMQ, Redis, Centrifugo
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published