mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2025-12-16 14:22:11 +01:00
Updated init-letsencrypt updated init-letsencrypt with docker-compose-init updated init-letsencrypt with docker-compose-init restored init-letsencrypt updates to certbot updates to certbot updates to certbot updates to certbot updates to certbot updates to certbot updates to certbot added certbot to scalelite-nginx fixed settings for acme-challenge added blacklist updated init-letsencrypt for working with scaleite-nginx Removed unnecessary files percisted certbot logs and added env options to init-letsencrypt
101 lines
3.1 KiB
YAML
101 lines
3.1 KiB
YAML
version: '3'
|
|
|
|
volumes:
|
|
postgres-data:
|
|
redis-data:
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:11.5-alpine
|
|
container_name: postgres
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0:5432:5432"
|
|
volumes:
|
|
- postgres-data:/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:6379: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
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443: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
|
|
- ${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
|
|
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
|
|
|
|
scalelite-poller:
|
|
image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-poller
|
|
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}
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
- scalelite-api
|
|
|
|
scalelite-recording-importer:
|
|
image: ${SCALELITE_REPO:-blindsidenetwks}/scalelite:${SCALELITE_TAG:-v1}-recording-importer
|
|
container_name: scalelite-recording-importer
|
|
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
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
- scalelite-api
|