1+ # Use openssl rand -hex 32 to generate this secret key, or generate it however you want and copy it here
2+ SECRET_KEY=
3+
14# For local setup and debug
25DEBUG=False
36
7+ # -----------------------------------------------------------------------------
48# Database
9+ # -----------------------------------------------------------------------------
510DB_HOST=db
611DB_NAME=postgres
712DB_USERNAME=postgres
813DB_PASSWORD=postgres
914DB_PORT=5432
1015
16+ # -----------------------------------------------------------------------------
17+ # Django
18+ # -----------------------------------------------------------------------------
1119DJANGO_SETTINGS_MODULE=settings.develop
12- ALLOWED_HOSTS=localhost,example.com
20+ ALLOWED_HOSTS=localhost,
1321SUBMISSIONS_API_URL=http://django:8000/api
1422MAX_EXECUTION_TIME_LIMIT=600 # time limit for the default queue (in seconds)
1523
@@ -19,24 +27,29 @@ MAX_EXECUTION_TIME_LIMIT=600 # time limit for the default queue (in seconds)
1927HTTPS=False
2028RATE_LIMIT=5
2129DOMAIN_NAME=localhost
22-
23-
24- # SSL style domain definition
2530TLS_EMAIL=your@email.com
26- # DOMAIN_NAME=example.com:443
2731
32+ # -----------------------------------------------------------------------------
33+ # RabbitMQ
34+ # -----------------------------------------------------------------------------
2835RABBITMQ_HOST=rabbit
2936RABBITMQ_DEFAULT_USER=rabbit-username
3037RABBITMQ_DEFAULT_PASS=rabbit-password-you-should-change
3138RABBITMQ_MANAGEMENT_PORT=15672
3239RABBITMQ_PORT=5672
3340WORKER_CONNECTION_TIMEOUT=100000000 # milliseconds
3441
35- FLOWER_PUBLIC_PORT=5555
3642
43+ # -----------------------------------------------------------------------------
44+ # Flower
45+ # -----------------------------------------------------------------------------
46+ FLOWER_PUBLIC_PORT=5555
3747FLOWER_BASIC_AUTH=root:password-you-should-change
3848
39- SELENIUM_HOSTNAME=selenium
49+
50+ # -----------------------------------------------------------------------------
51+ # Email Settings
52+ # -----------------------------------------------------------------------------
4053
4154# Uncomment to enable email settings
4255#EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
@@ -74,21 +87,6 @@ AWS_QUERYSTRING_AUTH=False
7487#WORKER_BUNDLE_URL_REWRITE=http://localhost:9000/|http://minio:9000/
7588
7689
77- # -----------------------------------------------------------------------------
78- # Limit for re-running submission
79- # This is used to limit users to rerun submissions
80- # on default queue when number of submissions are < RERUN_SUBMISSION_LIMIT
81- # -----------------------------------------------------------------------------
82- RERUN_SUBMISSION_LIMIT=30
83-
84-
85- # -----------------------------------------------------------------------------
86- # Enable or disbale regular email sign-in an sign-up
87- # -----------------------------------------------------------------------------
88- ENABLE_SIGN_UP=True
89- ENABLE_SIGN_IN=True
90-
91-
9290# # S3 storage example
9391# STORAGE_TYPE=s3
9492# AWS_ACCESS_KEY_ID=12312312312312312331223
@@ -111,6 +109,20 @@ ENABLE_SIGN_IN=True
111109# GS_PRIVATE_BUCKET_NAME=private
112110# GOOGLE_APPLICATION_CREDENTIALS=/app/certs/google-storage-api.json
113111
112+ # -----------------------------------------------------------------------------
113+ # Limit for re-running submission
114+ # This is used to limit users to rerun submissions
115+ # on default queue when number of submissions are < RERUN_SUBMISSION_LIMIT
116+ # -----------------------------------------------------------------------------
117+ RERUN_SUBMISSION_LIMIT=30
118+
119+
120+ # -----------------------------------------------------------------------------
121+ # Enable or disbale regular email sign-in an sign-up
122+ # -----------------------------------------------------------------------------
123+ ENABLE_SIGN_UP=True
124+ ENABLE_SIGN_IN=True
125+
114126
115127# -----------------------------------------------------------------------------
116128# Logging (Serialized outputs the logs in JSON format)
0 commit comments