diff --git a/osp/docker-compose.yml b/osp/docker-compose.yml index d599012..c73a1e5 100644 --- a/osp/docker-compose.yml +++ b/osp/docker-compose.yml @@ -11,6 +11,7 @@ services: - osp-db - osp-redis container_name: osp-app + entrypoint: ["/opt/osp/setup/docker/wait-for-it.sh", "db:3306", "-t", "60", "--", "/opt/osp/setup/docker/entrypoint.sh"] env_file: live.env image: deamos/openstreamingplatform:latest labels: @@ -18,20 +19,22 @@ services: - "com.centurylinklabs.watchtower.enable=true" # Routes - "traefik.enable=true" - - "traefik.http.routers.nextcloud.entrypoints=websecure" - - "traefik.http.routers.nextcloud.rule=Host(`osp.${DOMAIN}`)" - - "traefik.http.routers.nextcloud.tls=true" - - "traefik.http.routers.nextcloud.tls.certresolver=myresolver" - - "traefik.http.services.nextcloud.loadbalancer.server.port=80" + - "traefik.http.routers.osp.entrypoints=websecure" + - "traefik.http.routers.osp.rule=Host(`osp.${DOMAIN}`)" + - "traefik.http.routers.osp.tls=true" + - "traefik.http.routers.osp.tls.certresolver=myresolver" + - "traefik.http.services.osp.loadbalancer.server.port=80" networks: - default restart: unless-stopped volumes: - ${OSP_ROOT}/data:/var/www + - ${OSP_ROOT}/data/nginx/conf:/usr/local/nginx/conf osp-db: image: mariadb:10 container_name: osp-db + command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW restart: unless-stopped env_file: live.env labels: