piratar / wasa2il

Direct democracy system
https://x.piratar.is
Other
28 stars 16 forks source link

Use docker-compose versioning syntax #208

Closed viktorsmari closed 6 years ago

viktorsmari commented 6 years ago

Also adds depends_on: db so we can try to make the APP container wait until the DB container (mysql) is ready. If mysql is not ready in time, django will fail to connect.

Other way is to first do docker-compose up db
wait 2-3 seconds and then do docker-compose up wasaweb which is not optimal, we prefer to use only one command.