From 62b27d03b554a85b663c12439745529dd5130a3e Mon Sep 17 00:00:00 2001 From: jfederico Date: Wed, 21 Apr 2021 12:38:45 -0400 Subject: adapted images on dev for using the new scalelite core image --- docker-compose-dev.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'docker-compose-dev.yml') diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index a356e14..1134401 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -71,7 +71,7 @@ services: - certbot - scalelite-api - scalelite-recordings - command: /bin/bash -c "envsubst '$$NGINX_HOSTNAME' < /etc/nginx/sites.template > /etc/nginx/conf.d/sites.conf && exec nginx -g 'daemon off;'" + command: /bin/bash -c "envsubst '$$NGINX_HOSTNAME' < /etc/nginx/sites.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'" logging: driver: journald @@ -85,8 +85,18 @@ services: depends_on: - scalelite-api + scalelite-recordings: + image: ${SCALELITE_RECORDINGS_DOCKER_IMAGE:-bigbluebutton/bbb-playback-proxy:bionic-230-amazonlinux} + container_name: scalelite-recordings + restart: unless-stopped + volumes: + - ./log/recordings/:/var/log/nginx + - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}/published:/var/bigbluebutton/published + depends_on: + - scalelite-api + scalelite-api: - image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-api + image: ${SCALELITE_DOCKER_IMAGE:-blindsidenetwks/scalelite:v1.0} container_name: scalelite-api restart: unless-stopped volumes: @@ -105,21 +115,20 @@ services: driver: journald scalelite-poller: - image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-poller + image: ${SCALELITE_DOCKER_IMAGE:-blindsidenetwks/scalelite:v1.0} container_name: scalelite-poller restart: unless-stopped environment: - REDIS_URL=${REDIS_URL:-redis://redis:6379} - DATABASE_URL=${DATABASE_URL:-postgres://postgres:password@postgres:5432/scalelite?pool=5} + command: /bin/sh -c "bin/start-poller" depends_on: - - postgres - - redis - scalelite-api logging: driver: journald scalelite-recording-importer: - image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-recording-importer + image: ${SCALELITE_DOCKER_IMAGE:-blindsidenetwks/scalelite:v1.0} container_name: scalelite-recording-importer restart: unless-stopped environment: @@ -129,6 +138,7 @@ services: volumes: - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}:/var/bigbluebutton - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}/spool:/var/bigbluebutton/spool + command: /bin/sh -c "bin/start-recording-importer" depends_on: - postgres - redis -- cgit v1.2.3