Commit c557a292 authored by Mikael Salson's avatar Mikael Salson
Browse files

docker-compose.yml: Force building on the dev environment

parent 6de2b2f3
......@@ -12,7 +12,7 @@ services:
ports:
- '8000:8000'
- '8080:80'
command: bash -c "/var/www/html/wait-for-it.sh database:3306 --strict --timeout=300 && (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"
command: bash -c "/var/www/html/wait-for-it.sh database:3306 --strict --timeout=300 && ls -la /etc/alecsia && ls -l app/config && (php /var/www/html/alecsia/app/console --env=dev doctrine:schema:create || php /var/www/html/alecsia/app/console doctrine:schema:update --env=dev --force) && /etc/init.d/apache2 start && cat"
tty: true
links:
- "mysql-db:database"
......
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