diff --git a/osp/docker-compose.yml b/osp/docker-compose.yml index 5ee175e..d6490ab 100644 --- a/osp/docker-compose.yml +++ b/osp/docker-compose.yml @@ -11,10 +11,10 @@ services: - osp-db - osp-redis container_name: osp-app - entrypoint: ["/opt/osp/setup/docker/wait-for-it.sh", "osp-db:3306", "-t", "60", "--", "/opt/osp/setup/docker/entrypoint.sh"] + entrypoint: ["/opt/osp/setup/docker/wait-for-it.sh", "osp-db:3306", "--strict", "-t", "60", "--", "/opt/osp/setup/docker/entrypoint.sh"] env_file: live.env environment: - - DB_URL=mysql+pymysql://${MYSQL_USER}:${MYSQL_PASSWORD}@${MYSQL_HOST}/${MYSQL_DATABASE} + - DB_URL=mysql+pymysql://${MYSQL_USER}:${MYSQL_PASSWORD}@${MYSQL_HOST}:3306/${MYSQL_DATABASE} image: deamos/openstreamingplatform:latest labels: # Watchtower @@ -47,7 +47,7 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro - - ${OSP_ROOT}/db:/var/lib/mysq + - ${OSP_ROOT}/db:/var/lib/mysql osp-redis: image: redis:6-alpine