This commit is contained in:
Stephan Porada 2021-04-30 16:17:18 +02:00
parent d573b93f10
commit 995262ebb2

View File

@ -11,10 +11,10 @@ services:
- osp-db - osp-db
- osp-redis - osp-redis
container_name: osp-app 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 env_file: live.env
environment: 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 image: deamos/openstreamingplatform:latest
labels: labels:
# Watchtower # Watchtower
@ -47,7 +47,7 @@ services:
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- ${OSP_ROOT}/db:/var/lib/mysq - ${OSP_ROOT}/db:/var/lib/mysql
osp-redis: osp-redis:
image: redis:6-alpine image: redis:6-alpine