mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2025-12-16 22:32:10 +01:00
updates for extra formats and general configs
This commit is contained in:
@@ -55,7 +55,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /recording {
|
location /recording {
|
||||||
proxy_pass http://docker-scalelite-recordings;
|
proxy_pass http://docker-scalelite-api;
|
||||||
include /etc/nginx/sites-common;
|
include /etc/nginx/sites-common;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ volumes:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:11-alpine
|
image: ${POSTGRES_DOCKER_IMAGE:-postgres:11-alpine}
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
- postgres-data-dev:/var/lib/postgresql/data
|
- postgres-data-dev:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.2-alpine
|
image: ${REDIS_DOCKER_IMAGE:-redis:6.2-alpine}
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
@@ -35,17 +35,26 @@ services:
|
|||||||
- redis-data-dev:/data
|
- redis-data-dev:/data
|
||||||
- ./data/redis/conf/redis.conf.template:/usr/local/etc/redis/redis.conf.template
|
- ./data/redis/conf/redis.conf.template:/usr/local/etc/redis/redis.conf.template
|
||||||
- /etc/letsencrypt:/etc/letsencrypt
|
- /etc/letsencrypt:/etc/letsencrypt
|
||||||
command: /bin/sh -c "sed -e 's/$$HOSTNAME/redis.${DOMAIN_NAME:-xlab.blindside-dev.com}/' /usr/local/etc/redis/redis.conf.template > /usr/local/etc/redis/redis.conf && exec redis-server --appendonly yes"
|
command: /bin/sh -c "sed -e 's/$$HOSTNAME/${REDIS_HOST:-redis}.${DOMAIN_NAME:-user.blindside-ps.dev}/' /usr/local/etc/redis/redis.conf.template > /usr/local/etc/redis/redis.conf && exec redis-server --appendonly yes"
|
||||||
|
|
||||||
scalelite-nginx:
|
certbot:
|
||||||
image: nginx:1.24
|
image: ${CERTBOT_DOCKER_IMAGE:-certbot/certbot}
|
||||||
container_name: scalelite-nginx
|
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-proxy:
|
||||||
|
image: ${NGINX_DOCKER_IMAGE:-nginx:1.24}
|
||||||
|
container_name: scalelite-proxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
environment:
|
environment:
|
||||||
- NGINX_HOSTNAME=${DOMAIN_NAME:-xlab.blindside-dev.com}
|
- NGINX_HOSTNAME=${SL_HOST:-sl}.${DOMAIN_NAME:-user.blindside-ps.dev}
|
||||||
volumes:
|
volumes:
|
||||||
- ./log/proxy-nginx/:/var/log/nginx
|
- ./log/proxy-nginx/:/var/log/nginx
|
||||||
- ./data/proxy/nginx/sites.template.${DOCKER_PROXY_NGINX_TEMPLATE:-scalelite-proxy}:/etc/nginx/sites.template
|
- ./data/proxy/nginx/sites.template.${DOCKER_PROXY_NGINX_TEMPLATE:-scalelite-proxy}:/etc/nginx/sites.template
|
||||||
@@ -132,34 +141,3 @@ services:
|
|||||||
- scalelite-api
|
- scalelite-api
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
|
|
||||||
keycloak:
|
|
||||||
image: quay.io/keycloak/keycloak:19.0.3-legacy
|
|
||||||
# image: quay.io/keycloak/keycloak:19.0.3
|
|
||||||
# command: "start-dev --auto-build"
|
|
||||||
container_name: keycloak
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
# KEYCLOAK_ADMIN: admin
|
|
||||||
# KEYCLOAK_ADMIN_PASSWORD: adminadmin
|
|
||||||
# KC_DB_URL: postgres
|
|
||||||
# KC_DB: keycloakdb
|
|
||||||
# KC_DB_USERNAME: postgres
|
|
||||||
# KC_DB_PASSWORD: password
|
|
||||||
# KC_HOSTNAME_STRICT: "false"
|
|
||||||
# KC_PROXY: edge
|
|
||||||
KEYCLOAK_USER: admin
|
|
||||||
KEYCLOAK_PASSWORD: adminadmin
|
|
||||||
DB_VENDOR: POSTGRES
|
|
||||||
DB_ADDR: postgres
|
|
||||||
DB_DATABASE: keycloakdb
|
|
||||||
DB_USER: postgres
|
|
||||||
DB_PASSWORD: password
|
|
||||||
PROXY_ADDRESS_FORWARDING: "true"
|
|
||||||
volumes:
|
|
||||||
- ./data/certbot/conf/:/etc/letsencrypt
|
|
||||||
- ./data/certbot/conf/live/kc.${DOMAIN_NAME:-xlab.blindside-dev.com}/cert.pem:/etc/x509/https/tls.crt
|
|
||||||
- ./data/certbot/conf/live/kc.${DOMAIN_NAME:-xlab.blindside-dev.com}/privkey.pem:/etc/x509/https/tls.key
|
|
||||||
- ./data/keycloak/themes/demo:/opt/jboss/keycloak/themes/demo
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
|
|||||||
@@ -6,27 +6,27 @@ volumes:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:11-alpine
|
image: ${POSTGRES_DOCKER_IMAGE:-postgres:11-alpine}
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data-dev:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.2-alpine
|
image: ${REDIS_DOCKER_IMAGE:-redis:6.2-alpine}
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-data:/data
|
||||||
- ./data/redis/conf/redis.conf.template:/usr/local/etc/redis/redis.conf.template
|
- ./data/redis/conf/redis.conf.template:/usr/local/etc/redis/redis.conf.template
|
||||||
- ./data/certbot/conf/:/etc/letsencrypt
|
- ./data/certbot/conf/:/etc/letsencrypt
|
||||||
command: /bin/sh -c "sed -e 's/$$HOSTNAME/redis.${DOMAIN_NAME:-xlab.blindside-dev.com}/' /usr/local/etc/redis/redis.conf.template > /usr/local/etc/redis/redis.conf && exec redis-server --appendonly yes"
|
command: /bin/sh -c "sed -e 's/$$HOSTNAME/${REDIS_HOST:-redis}.${DOMAIN_NAME:-user.blindside-ps.dev}/' /usr/local/etc/redis/redis.conf.template > /usr/local/etc/redis/redis.conf && exec redis-server --appendonly yes"
|
||||||
|
|
||||||
certbot:
|
certbot:
|
||||||
image: certbot/certbot:v1.11.0
|
image: ${CERTBOT_DOCKER_IMAGE:-certbot/certbot}
|
||||||
container_name: certbot
|
container_name: certbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./log/certbot/:/var/log/letsencrypt
|
- ./log/certbot/:/var/log/letsencrypt
|
||||||
@@ -35,14 +35,14 @@ services:
|
|||||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||||
|
|
||||||
scalelite-proxy:
|
scalelite-proxy:
|
||||||
image: nginx:1.24
|
image: ${NGINX_DOCKER_IMAGE:-nginx:1.24}
|
||||||
container_name: scalelite-proxy
|
container_name: scalelite-proxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
environment:
|
environment:
|
||||||
- NGINX_HOSTNAME=${URL_HOST:-sl.xlab.blindside-dev.com}
|
- NGINX_HOSTNAME=${URL_HOST:-sl.xlab.blindside-ps.dev}
|
||||||
volumes:
|
volumes:
|
||||||
- ./log/proxy-nginx/:/var/log/nginx
|
- ./log/proxy-nginx/:/var/log/nginx
|
||||||
- ./data/proxy/nginx/sites.template.${DOCKER_PROXY_NGINX_TEMPLATE:-scalelite-proxy}:/etc/nginx/sites.template
|
- ./data/proxy/nginx/sites.template.${DOCKER_PROXY_NGINX_TEMPLATE:-scalelite-proxy}:/etc/nginx/sites.template
|
||||||
|
|||||||
26
dotenv
26
dotenv
@@ -1,10 +1,18 @@
|
|||||||
### Required by scalelite-api
|
### Required across containers
|
||||||
SECRET_KEY_BASE=
|
SECRET_KEY_BASE=
|
||||||
|
DOMAIN_NAME=
|
||||||
|
|
||||||
|
### Required by scalelite-api
|
||||||
LOADBALANCER_SECRET=
|
LOADBALANCER_SECRET=
|
||||||
URL_HOST=
|
SL_HOST=
|
||||||
|
|
||||||
|
### Optional for scalelite-api
|
||||||
|
# LOADBALANCER_CHECKSUM_ALGORITHM=SHA256
|
||||||
|
|
||||||
#
|
#
|
||||||
### Required by scalelite-api and scalelite-poller
|
### Required by scalelite-api and scalelite-poller
|
||||||
# REDIS_URL=
|
# REDIS_URL=
|
||||||
|
# REDIS_HOST=
|
||||||
#
|
#
|
||||||
### Required by scalelite-api and scalelite-recording-importer
|
### Required by scalelite-api and scalelite-recording-importer
|
||||||
# DATABASE_URL=
|
# DATABASE_URL=
|
||||||
@@ -24,9 +32,17 @@ SCALELITE_DOCKER_IMAGE=blindsidenetwks/scalelite:v1.0
|
|||||||
### Required when recordings are enabled and using BigBlueButton Playback Proxy to serve the recordings.
|
### Required when recordings are enabled and using BigBlueButton Playback Proxy to serve the recordings.
|
||||||
SCALELITE_RECORDINGS_DOCKER_IMAGE=bigbluebutton/bbb-playback-proxy:focal-260-amazonlinux
|
SCALELITE_RECORDINGS_DOCKER_IMAGE=bigbluebutton/bbb-playback-proxy:focal-260-amazonlinux
|
||||||
#
|
#
|
||||||
|
### Optional for nginx when using docker-compose
|
||||||
|
# NGINX_DOCKER_IMAGE=
|
||||||
|
# CERTBOT_DOCKER_IMAGE=
|
||||||
|
#
|
||||||
### Optional for postgres when using docker-compose
|
### Optional for postgres when using docker-compose
|
||||||
# POSTGRES_USER=
|
# POSTGRES_USER=
|
||||||
# POSTGRES_PASSWORD=
|
# POSTGRES_PASSWORD=
|
||||||
|
# POSTGRES_DOCKER_IMAGE=
|
||||||
|
#
|
||||||
|
### Optional for redis when using docker-compose
|
||||||
|
# REDIS_DOCKER_IMAGE=
|
||||||
#
|
#
|
||||||
### Optional for init-letsencrypt.sh when using certbot for generating signed SSL certificates
|
### Optional for init-letsencrypt.sh when using certbot for generating signed SSL certificates
|
||||||
#LETSENCRYPT_EMAIL=
|
#LETSENCRYPT_EMAIL=
|
||||||
@@ -52,8 +68,12 @@ SCALELITE_RECORDINGS_DOCKER_IMAGE=bigbluebutton/bbb-playback-proxy:focal-260-ama
|
|||||||
# scalelite-local
|
# scalelite-local
|
||||||
# scalelite-local-protected
|
# scalelite-local-protected
|
||||||
# scalelite-cluster
|
# scalelite-cluster
|
||||||
|
#
|
||||||
### Optional for the deployment, but required when using init-letsencrypt.sh script
|
### Optional for the deployment, but required when using init-letsencrypt.sh script
|
||||||
# LETSENCRYPT_EMAIL=
|
# LETSENCRYPT_EMAIL=
|
||||||
# LETSENCRYPT_STAGING=0
|
# LETSENCRYPT_STAGING=0
|
||||||
# Set to 1 if you're testing your setup to avoid hitting request limits
|
# Set to 1 if you're testing your setup to avoid hitting request limits
|
||||||
|
#
|
||||||
|
### Optional for Multitenancy
|
||||||
|
# MULTITENANCY_ENABLED=
|
||||||
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user