devmode: disable lets encrypt, greenlight support

This commit is contained in:
chandi 2020-07-22 23:02:50 +02:00
parent 4a6187174b
commit 656ace6096
3 changed files with 7 additions and 2 deletions

View File

@ -12,7 +12,7 @@ services:
DB_NAME: greenlight DB_NAME: greenlight
DB_USERNAME: postgres DB_USERNAME: postgres
DB_PASSWORD: password DB_PASSWORD: password
BIGBLUEBUTTON_ENDPOINT: https://${DOMAIN}/bigbluebutton/api/ BIGBLUEBUTTON_ENDPOINT: http://10.7.7.1:8080/bigbluebutton/api/
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET} BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
SECRET_KEY_BASE: ${RAILS_SECRET} SECRET_KEY_BASE: ${RAILS_SECRET}
ports: ports:

View File

@ -7,7 +7,7 @@ services:
- ssl_data:/etc/resty-auto-ssl - ssl_data:/etc/resty-auto-ssl
- ./mod/https/site.conf:/etc/nginx/conf.d/bbb-docker.conf - ./mod/https/site.conf:/etc/nginx/conf.d/bbb-docker.conf
environment: environment:
ALLOWED_DOMAINS: ${DOMAIN} ALLOWED_DOMAINS: ${CERTIFICATE_DOMAINS}
network_mode: host network_mode: host
volumes: volumes:

View File

@ -10,6 +10,11 @@ then
export $(cat .env | sed 's/#.*//g' | grep -v "WELCOME_FOOTER" | grep -v "WELCOME_MESSAGE" | xargs) export $(cat .env | sed 's/#.*//g' | grep -v "WELCOME_FOOTER" | grep -v "WELCOME_MESSAGE" | xargs)
fi fi
export CERTIFICATE_DOMAINS=$DOMAIN
if [ "$DEV_MODE" == true ]; then
export CERTIFICATE_DOMAINS="invalid"
fi
# concatenate docker-compose file # concatenate docker-compose file
COMPOSE_FILES="-f docker-compose.yml" COMPOSE_FILES="-f docker-compose.yml"
if [ "$ENABLE_HTTPS_PROXY" == true ]; then if [ "$ENABLE_HTTPS_PROXY" == true ]; then