Commit e92e1c3a authored by David Ivain's avatar David Ivain
Browse files

creation ou update de la bdd au démarrage

parent a4c2516c
......@@ -8,7 +8,8 @@ services:
ports:
- '8000:8000'
- '8080:80'
# command: bash -c "(php /var/www/html/alecsia/app/console doctrine:schema:create || php /var/www/html/alecsia/app/console doctrine:schema:update) && pwd"
command: bash -c "(php /var/www/html/alecsia/app/console doctrine:schema:create || php /var/www/html/alecsia/app/console doctrine:schema:update --force) && /etc/init.d/apache2 start && cat"
tty: true
links:
- "mysql-db:database"
depends_on:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment