123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- version: '3'
-
- volumes:
- redis-data:
- postgres-data:
-
- services:
- postgres:
- image: postgres:11.8
- container_name: postgres-scalelite${-:ORGANIZACION}
- restart: unless-stopped
- ports:
- - "127.0.0:54320:5432"
- volumes:
- - ./db:/var/lib/postgresql/data
- environment:
- - POSTGRES_USER=${POSTGRES_USER:-postgres}
- - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}
-
- redis:
- image: redis:5.0-alpine
- container_name: redis
- restart: on-failure
- ports:
- - 127.0.0.1:63790:6379
- volumes:
- - redis-data:/data
-
- certbot:
- image: certbot/certbot
- container_name: certbot
- volumes:
- - ./log/certbot:/var/log/letsencrypt
- - ./data/certbot/conf:/etc/letsencrypt
- - ./data/certbot/www:/var/www/certbot
- entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
-
- scalelite-nginx:
- image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-nginx
- container_name: scalelite-nginx${-:ORGANIZACION}
- restart: unless-stopped
- ports:
- - "${NGINX_PORT}:80"
- - "${NGINX_PORT_SSL}:443"
- volumes:
- - ./log/nginx/:/var/log/nginx
- - ./data/certbot/conf:/etc/nginx/ssl
- - ./data/certbot/www:/var/www/certbot
- - ./data/nginx/scalelite:/etc/nginx/conf.d/scalelite
- - ./data/presentation:/var/bigbluebutton/playback/presentation
- - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}/published:/var/bigbluebutton/published
- environment:
- - NGINX_SSL=${NGINX_SSL-true}
- - URL_HOST=${URL_HOST}
- depends_on:
- - scalelite-api
-
- scalelite-api:
- image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-api
- container_name: scalelite-api${-:ORGANIZACION}
- restart: unless-stopped
- ports:
- - "3000:3000"
- volumes:
- - ./log/scalelite/:/app/log
- - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}:/var/bigbluebutton
- environment:
- - SECRET_KEY_BASE=${SECRET_KEY_BASE}
- - LOADBALANCER_SECRET=${LOADBALANCER_SECRET}
- - REDIS_URL=${REDIS_URL:-redis://redis:6379}
- - DATABASE_URL=${DATABASE_URL:-postgres://postgres:password@postgres:5432/scalelite?pool=5}
- - URL_HOST=${URL_HOST}
- depends_on:
- - postgres
- - redis
- logging:
- driver: journald
-
- scalelite-poller:
- image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-poller
- container_name: scalelite-poller${-:ORGANIZACION}
- restart: unless-stopped
- environment:
- - REDIS_URL=${REDIS_URL:-redis://redis:6379}
- - DATABASE_URL=${DATABASE_URL:-postgres://postgres:password@postgres:5432/scalelite?pool=5}
- depends_on:
- - postgres
- - redis
- - scalelite-api
- logging:
- driver: journald
-
- scalelite-recording-importer:
- image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-recording-importer
- container_name: scalelite-recording-importer${-:ORGANIZACION}
- restart: unless-stopped
- environment:
- - REDIS_URL=${REDIS_URL:-redis://redis:6379}
- - DATABASE_URL=${DATABASE_URL:-postgres://postgres:password@postgres:5432/scalelite?pool=5}
- volumes:
- - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}:/var/bigbluebutton
- - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}/spool:/var/bigbluebutton/spool
- - ${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}/published:/var/bigbluebutton/published
- depends_on:
- - postgres
- - redis
- - scalelite-api
- logging:
- driver: journald
|