You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
4.8 KiB
117 lines
4.8 KiB
# A uniquely secret key |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key |
|
SECRET_KEY=@wb=#(f4uc0l%e!5*eo+aoflnxb(@!l9!=c5w=4b+x$=!8&vy%' |
|
|
|
# Disable debug in production |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#debug |
|
DEBUG=False |
|
DEBUG_TOOLBAR=False |
|
|
|
# Allowed hosts that Django does server. Use comma separated list Take care when NGINX is proxying in front of Django |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts |
|
ALLOWED_HOSTS=127.0.0.1,localhost |
|
|
|
# All internal IPS for Django. Use comma separated list |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#internal-ips |
|
INTERNAL_IPS=127.0.0.1 |
|
|
|
# Enter the database url connection. Enter all parts even the port numbers: https://github.com/jacobian/dj-database-url |
|
# By default a local sqlite3 database is used. |
|
DATABASE_URL=sqlite:///db.sqlite3 |
|
|
|
# The location on disk where the static files will be placed during deployment. Setting is required |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#static-root |
|
STATIC_ROOT= |
|
|
|
# The location on disk where the uploaded media files will be placed. Setting is required |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#media-root |
|
MEDIA_ROOT= |
|
|
|
# Enter the default timezone for the visitors when it is not known. |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TIME_ZONE |
|
TIME_ZONE=Europe/Amsterdam |
|
|
|
# Authentication settings (This needs to be placed in the file called: '../surfnet_conext_secrets.ini') |
|
# This information can be created in a separate settings.ini file. |
|
# https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html |
|
# The Client ID which is the Entity ID in SurfConext |
|
# OIDC_RP_CLIENT_ID= |
|
# The Client secret that is created with the Entity ID. This will be shown only once |
|
# OIDC_RP_CLIENT_SECRET= |
|
# The encryption algorithm. Default is RS256 |
|
# OIDC_RP_SIGN_ALGO=RS256 |
|
# The following urls should be loaded automatically when PR039 is merged: https://github.com/mozilla/mozilla-django-oidc/pull/309 For now, we have to manually add those urls |
|
# The source is at: https://connect.surfconext.nl/.well-known/openid-configuration (production) |
|
# The source is at: https://connect.test.surfconext.nl/.well-known/openid-configuration (testing) |
|
# This is the 'authorization_endpoint' url |
|
# OIDC_OP_AUTHORIZATION_ENDPOINT= |
|
# This is the 'token_endpoint' url |
|
# OIDC_OP_TOKEN_ENDPOINT= |
|
# This is the 'userinfo_endpoint' url |
|
# OIDC_OP_USER_ENDPOINT= |
|
# This is the 'jwks_uri' url. Needed due to the `OIDC_RP_SIGN_ALGO` choice |
|
# OIDC_OP_JWKS_ENDPOINT= |
|
# Where to go after valid login. |
|
# LOGIN_REDIRECT_URL= |
|
# Where to go after valid logout. |
|
# LOGOUT_REDIRECT_URL= |
|
|
|
|
|
# Email settings |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-host |
|
# EMAIL_HOST= |
|
|
|
# Email user name |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-host-user |
|
# EMAIL_HOST_USER= |
|
|
|
# Email password |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-host-password |
|
# EMAIL_HOST_PASSWORD= |
|
|
|
# Email server port number to use. Default is 25 |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-port |
|
# EMAIL_PORT= |
|
|
|
# Does the email server supports TLS? |
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-use-tls |
|
# EMAIL_USE_TLS= |
|
|
|
https://docs.djangoproject.com/en/dev/ref/settings/#default-from-email |
|
DEFAULT_FROM_EMAIL=Do not reply<no-reply@rug.nl> |
|
|
|
# The sender address. This needs to be one of the allowed domains due to SPF checks |
|
# The code will use a reply-to header to make sure that replies goes to the researcher and not this address |
|
EMAIL_FROM_ADDRESS=Do not reply<no-reply@rug.nl> |
|
|
|
|
|
# How long is the study invitation link valid? Default is 3 days. Value is in seconds |
|
STUDY_INVITATION_LINK_EXPIRE_DURATION= |
|
# The protocol, domain and port number for invitation validation domain name. |
|
STUDY_INVITATION_LINK_DOMAIN= |
|
|
|
# The Redis server is used for background tasks. Enter the variables below. Leave password empty if authentication is not enabled. |
|
# The hostname or IP where the Redis server is running. Default is localhost |
|
REDIS_HOST=localhost |
|
|
|
# The Redis port number on which the server is running. Default is 6379 |
|
REDIS_PORT=6379 |
|
|
|
# The Redis password when authentication is enabled |
|
# REDIS_PASSWORD= |
|
|
|
# The amount of connections to be made inside a connection pool. Default is 10 |
|
REDIS_CONNECTIONS=10 |
|
|
|
# Enter the full path to the Web based file uploading without the Study ID part. The Study ID will be added to this url based on the visitor. |
|
DROPOFF_BASE_URL=http://localhost:8000/dropoffs/ |
|
|
|
# Enter the full url to the NGINX service that is in front of the TUSD service. By default that is http://localhost:1090 |
|
DROPOFF_UPLOAD_HOST=http://localhost:1090 |
|
|
|
# Which file extensions are **NOT** allowed to be uploaded. By default the extensions exe,com,bat,lnk,sh are not allowed |
|
DROPOFF_NOT_ALLOWED_EXTENSIONS=exe,com,bat,lnk,sh |
|
|
|
# Sentry settings |
|
# Enter the full Sentry DSN string. This should contain a key and a project |
|
SENTRY_DSN= |