From 820af6f9b31f07fa4e52647d1318a1d940704800 Mon Sep 17 00:00:00 2001 From: Marllus Lustosa Date: Tue, 17 Dec 2019 11:40:09 -0300 Subject: [PATCH] wait-for-it --- docker-compose.yaml | 4 +++- settings.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 120000 settings.py diff --git a/docker-compose.yaml b/docker-compose.yaml index 228029b..a8e91fd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 diff --git a/settings.py b/settings.py deleted file mode 120000 index 68ee22f..0000000 --- a/settings.py +++ /dev/null @@ -1 +0,0 @@ -./frontend/frontend/settings.py \ No newline at end of file