VRE Backend API and Scheduler
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.

80 lines
2.5 KiB

1 year ago
# The Postgress database settings used for Django
POSTGRES_USER=userone
POSTGRES_PASSWORD=secretpassword
POSTGRES_DB=project_db
DATABASE=postgres
DATABASE_HOST=postgresdb
DATABASE_PORT=5432
# Enter the database url connection: https://github.com/jacobian/dj-database-url
DATABASE_URL=postgres://userone:secretpassword@postgresdb:5432/project_db
# The Redis server settings used for Django background tasks
REDIS_HOST=redisdb
REDIS_PASSWORD=redispassword
DJANGO_ADMIN_NAME=admin
DJANGO_ADMIN_PASSWORD=password
DJANGO_ADMIN_EMAIL=admin+no-reply@rug.nl
# A uniquely secret key
SECRET_KEY=@wb=#(f4vc0l(e!5*eo+a@flnxb2@!l9!=c6w=4b+x$=!8&vy%'
# Disable debug in production
DEBUG=True
# Allowed hosts that Django does server. Take care when NGINX is proxying infront of Django
ALLOWED_HOSTS=127.0.0.1,localhost,0.0.0.0,api-nginx,portal-nginx
# The location on disk where the static files will be placed during deployment. Setting is required
STATIC_ROOT=staticfiles
# Enter the default timezone for the visitors when it is not known.
TIME_ZONE=Europe/Amsterdam
# Email settings
# Mail host
#EMAIL_HOST=
# Email user name
#EMAIL_HOST_USER=
# Email password
#EMAIL_HOST_PASSWORD=
# Email server port number to use
#EMAIL_PORT=
# Does the email server supports TLS?
#EMAIL_USE_TLS=yes
# What is the Dropoff hostname (webinterface)
DROPOFF_BASE_URL=http://localhost:8000/dropoffs/
# What is the Dropoff Upload host
DROPOFF_UPLOAD_HOST=http://localhost:1080
# What is the full VRE Portal domains
VRE_BROKER_API=http://api-nginx/api
# TUS Daemon settings
# Change the variable below to your needs. You can also add more variables that are used in the startup.sh script
# TODO: How to generate this data when starting up? As this user does not exists yet in the database... Should be generated everytime we rebuild...
WEBHOOK_URL=http://api-nginx/api/v1/dropoffs/webhook/
DROPOFF_API_USER=tusdhook
DROPOFF_API_PASSWORD=doemaarwat
DROPOFF_API_EMAIL=tusd+no-reply@rug.nl
DROPOFF_API_HAWK_KEY=sDl6YmRv
DROPOFF_API_HAWK_SECRET=ExfcR524851PxVmbNzvR7qkoHwzSSJ1A
1 year ago
# VRW API settigs. This is for the VRW client to get data for creating Virtual Workspaces
# The security group that is allowed to access the VRW part of the REST API
# Make sure this variable has the same value of the Django setting: setting.VRW_API_GROUP
VRW_API_GROUP=vrw-api
# The VRW username for the REST API
VRW_API_USER=vrw
# The VRW password for the REST API
VRW_API_PASSWORD=securepassword
# The VRW email address for the REST API
VRW_API_EMAIL=vrw+no-reply@rug.nl