kopia lustrzana https://github.com/OpenDroneMap/WebODM
WO_DEV tweaks
rodzic
94ba5257d5
commit
8bc15e4562
1
.env
1
.env
|
@ -6,4 +6,5 @@ WO_SSL_KEY=
|
|||
WO_SSL_CERT=
|
||||
WO_SSL_INSECURE_PORT_REDIRECT=80
|
||||
WO_DEBUG=NO
|
||||
WO_DEV=NO
|
||||
WO_BROKER=redis://broker
|
||||
|
|
|
@ -31,6 +31,7 @@ services:
|
|||
- WO_HOST
|
||||
- WO_DEBUG
|
||||
- WO_BROKER
|
||||
- WO_DEV
|
||||
restart: on-failure:10
|
||||
oom_score_adj: 0
|
||||
broker:
|
||||
|
|
|
@ -50,7 +50,7 @@ WORKER_RUNNING = sys.argv[2:3] == ["worker"]
|
|||
|
||||
# SECURITY WARNING: don't run with debug turned on a public facing server!
|
||||
DEBUG = os.environ.get('WO_DEBUG', 'YES') == 'YES' or TESTING
|
||||
DEV = os.environ.get('WO_DEV', 'YES') == 'YES'
|
||||
DEV = os.environ.get('WO_DEV', 'NO') == 'YES'
|
||||
SESSION_COOKIE_SECURE = CSRF_COOKIE_SECURE = os.environ.get('WO_SSL', 'NO') == 'YES'
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue