diff options
author | jfederico <jesus@123it.ca> | 2021-04-21 12:38:45 -0400 |
---|---|---|
committer | jfederico <jesus@123it.ca> | 2021-04-21 12:38:45 -0400 |
commit | 62b27d03b554a85b663c12439745529dd5130a3e (patch) | |
tree | ce990ee39159c335be98b40bb8560abf93e4f83b /docker-compose-dev.yml | |
parent | a07cfd330c349273af343e82fb8581d6bcfc849e (diff) | |
download | scalelite-run-itzks-62b27d03b554a85b663c12439745529dd5130a3e.tar.gz scalelite-run-itzks-62b27d03b554a85b663c12439745529dd5130a3e.tar.bz2 scalelite-run-itzks-62b27d03b554a85b663c12439745529dd5130a3e.zip |
adapted images on dev for using the new scalelite core image
Diffstat (limited to 'docker-compose-dev.yml')
-rw-r--r-- | docker-compose-dev.yml | 22 |
1 files changed, 16 insertions, 6 deletions
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 |