mirror of
https://github.com/taroved/pol
synced 2025-05-16 06:10:09 -07:00
wait-for-it
This commit is contained in:
parent
ad7c787b98
commit
820af6f9b3
@ -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
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
./frontend/frontend/settings.py
|
Loading…
x
Reference in New Issue
Block a user