1- SECRET_KEY=change-this-secret
1+ # Use openssl rand -hex 32 to generate this secret key, or generate it however you want and copy it here
2+ SECRET_KEY=
23
34# For local setup and debug
45DEBUG=False
56
7+ # -----------------------------------------------------------------------------
68# Database
9+ # -----------------------------------------------------------------------------
710DB_HOST=db
811DB_NAME=postgres
912DB_USERNAME=postgres
1013DB_PASSWORD=postgres
1114DB_PORT=5432
1215
16+ # -----------------------------------------------------------------------------
17+ # Django
18+ # -----------------------------------------------------------------------------
1319DJANGO_SETTINGS_MODULE=settings.develop
14- ALLOWED_HOSTS=localhost,example.com
20+ ALLOWED_HOSTS=localhost,
1521SUBMISSIONS_API_URL=http://django:8000/api
1622MAX_EXECUTION_TIME_LIMIT=600 # time limit for the default queue (in seconds)
1723
@@ -21,24 +27,29 @@ MAX_EXECUTION_TIME_LIMIT=600 # time limit for the default queue (in seconds)
2127HTTPS=False
2228RATE_LIMIT=5
2329DOMAIN_NAME=localhost
24-
25-
26- # SSL style domain definition
2730TLS_EMAIL=your@email.com
28- # DOMAIN_NAME=example.com:443
2931
32+ # -----------------------------------------------------------------------------
33+ # RabbitMQ
34+ # -----------------------------------------------------------------------------
3035RABBITMQ_HOST=rabbit
3136RABBITMQ_DEFAULT_USER=rabbit-username
3237RABBITMQ_DEFAULT_PASS=rabbit-password-you-should-change
3338RABBITMQ_MANAGEMENT_PORT=15672
3439RABBITMQ_PORT=5672
3540WORKER_CONNECTION_TIMEOUT=100000000 # milliseconds
3641
37- FLOWER_PUBLIC_PORT=5555
3842
43+ # -----------------------------------------------------------------------------
44+ # Flower
45+ # -----------------------------------------------------------------------------
46+ FLOWER_PUBLIC_PORT=5555
3947FLOWER_BASIC_AUTH=root:password-you-should-change
4048
41- SELENIUM_HOSTNAME=selenium
49+
50+ # -----------------------------------------------------------------------------
51+ # Email Settings
52+ # -----------------------------------------------------------------------------
4253
4354# Uncomment to enable email settings
4455#EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
@@ -76,21 +87,6 @@ AWS_QUERYSTRING_AUTH=False
7687#WORKER_BUNDLE_URL_REWRITE=http://localhost:9000|http://minio:9000
7788
7889
79- # -----------------------------------------------------------------------------
80- # Limit for re-running submission
81- # This is used to limit users to rerun submissions
82- # on default queue when number of submissions are < RERUN_SUBMISSION_LIMIT
83- # -----------------------------------------------------------------------------
84- RERUN_SUBMISSION_LIMIT=30
85-
86-
87- # -----------------------------------------------------------------------------
88- # Enable or disbale regular email sign-in an sign-up
89- # -----------------------------------------------------------------------------
90- ENABLE_SIGN_UP=True
91- ENABLE_SIGN_IN=True
92-
93-
9490# # S3 storage example
9591# STORAGE_TYPE=s3
9692# AWS_ACCESS_KEY_ID=12312312312312312331223
@@ -113,6 +109,20 @@ ENABLE_SIGN_IN=True
113109# GS_PRIVATE_BUCKET_NAME=private
114110# GOOGLE_APPLICATION_CREDENTIALS=/app/certs/google-storage-api.json
115111
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+
116126
117127# -----------------------------------------------------------------------------
118128# Logging (Serialized outputs the logs in JSON format)
0 commit comments