add STATIC_CDN_HOST env configuration

This commit is contained in:
zema1 2018-01-02 20:21:06 +08:00 committed by GitHub
parent 8fa08e7f98
commit 44361fad48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ services:
- POSTGRES_PASSWORD=onlinejudge - POSTGRES_PASSWORD=onlinejudge
- JUDGE_SERVER_TOKEN=CHANGE_THIS - JUDGE_SERVER_TOKEN=CHANGE_THIS
# - FORCE_HTTPS=1 # - FORCE_HTTPS=1
# - STATIC_CDN_HOST=cdn.oj.com
ports: ports:
- "0.0.0.0:80:8000" - "0.0.0.0:80:8000"
- "0.0.0.0:443:1443" - "0.0.0.0:443:1443"