v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-16 06:10:09 -07:00

wait-for-it

This commit is contained in:
Marllus Lustosa 2019-12-17 11:40:09 -03:00
parent ad7c787b98
commit 820af6f9b3
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ services:
image: politepol:latest
depends_on:
- 'dbpolitepol'
command: ["./wait-for-it.sh", "db:3306", "--", "/bin/bash", "./frontend/start.sh"]
command: ["./wait-for-it.sh", "dbpolitepol:3306", "--", "/bin/bash", "./frontend/start.sh"]
container_name: politepol
restart: unless-stopped
networks:
@ -34,6 +34,8 @@ services:
MYSQL_ROOT_PASSWORD: 'rootpass'
networks:
- politepol-network
ports:
- '3306:3306'
volumes:
- ./mysql:/var/lib/mysql

View File

@ -1 +0,0 @@
./frontend/frontend/settings.py