Add SYNCSERVER_FORCE_WSGI_ENVIRON to list of configuration options that can be set via environment variables (#100); r=rfk
This commit is contained in:
parent
3d2d2820a7
commit
095701c0cf
@ -113,6 +113,7 @@ environmet variables, like this::
|
||||
-e SYNCSERVER_SECRET=5up3rS3kr1t \
|
||||
-e SYNCSERVER_SQLURI=sqlite:////tmp/syncserver.db \
|
||||
-e SYNCSERVER_BATCH_UPLOAD_ENABLED=true \
|
||||
-e SYNCSERVER_FORCE_WSGI_ENVIRON=false \
|
||||
# Run the container we just build \
|
||||
syncserver:latest \
|
||||
# Start gunicorn on the desired localhost port \
|
||||
|
||||
@ -143,6 +143,9 @@ def import_settings_from_environment_variables(settings, environ=None):
|
||||
("SYNCSERVER_ALLOW_NEW_USERS",
|
||||
"syncserver.allow_new_users",
|
||||
str_to_bool),
|
||||
("SYNCSERVER_FORCE_WSGI_ENVIRON",
|
||||
"syncserver.force_wsgi_environ",
|
||||
str_to_bool),
|
||||
("SYNCSERVER_BATCH_UPLOAD_ENABLED",
|
||||
"storage.batch_upload_enabled",
|
||||
str_to_bool),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user