Skip to content

Commit

Permalink
wait-for-it
Browse files Browse the repository at this point in the history
  • Loading branch information
marlluslustosa committed Dec 17, 2019
1 parent ad7c787 commit 820af6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -34,6 +34,8 @@ services:
MYSQL_ROOT_PASSWORD: 'rootpass'
networks:
- politepol-network
ports:
- '3306:3306'
volumes:
- ./mysql:/var/lib/mysql

Expand Down
1 change: 0 additions & 1 deletion settings.py

This file was deleted.

0 comments on commit 820af6f

Please sign in to comment.