-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.env
100 lines (80 loc) · 3.59 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# The environment setting.
# Use 'development' for local development, and 'production' in production.
ENVIRONMENT=development
# Ports that will be mapped to the host during development.
POSTGRES_DEV_PORT=5432
LLAMACPP_DEV_PORT=8080
WEB_DEV_PORT=8000
# Ports that will be mapped to the host during production.
WEB_HTTP_PORT=80
WEB_HTTPS_PORT=443
# Django debug settings (only used in development).
FORCE_DEBUG_TOOLBAR=true
REMOTE_DEBUGGING_ENABLED=false
REMOTE_DEBUGGING_PORT=5678
# The Django secret key used for cryptographic signing.
# IMPORTANT: Use a unique and secure key in production!
DJANGO_SECRET_KEY="your_django_secret_key_here"
# The Postgres database password (only used in production).
POSTGRES_PASSWORD="your_postgres_password_here"
# Miscellaneous Django security settings.
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
DJANGO_CSRF_TRUSTED_ORIGINS=
DJANGO_INTERNAL_IPS=127.0.0.1
# The salt that is used for hashing tokens in the token authentication app.
# Cave, changing the salt after some tokens were already generated makes them all invalid!
TOKEN_AUTHENTICATION_SALT="your_token_authentication_salt_here"
# Email configuration.
# The email address that is used for sending emails to the users and critical errors
# to the admins. The smtp server is only used in production. In development the emails
# are just logged to the console.
DJANGO_SERVER_EMAIL="[email protected]"
DJANGO_EMAIL_URL="smtp://localhost:25"
# The Django server admins that will receive critical error notifications.
# Also used by django-registration-redux to send account approval emails to.
DJANGO_ADMIN_EMAIL="[email protected]"
DJANGO_ADMIN_FULL_NAME="ADIT Admin"
# A support Email address that is presented to the users where they can get support.
SUPPORT_EMAIL="[email protected]"
# A superuser that will have access to the Django admin interface.
# Optionally with a provided auth token for the API.
SUPERUSER_USERNAME="superuser"
SUPERUSER_EMAIL="[email protected]"
SUPERUSER_PASSWORD="your_superuser_password_here"
SUPERUSER_AUTH_TOKEN="your_superuser_auth_token_here"
# Location of the backup folder.
BACKUP_DIR="/tmp/backups"
# Site information that is stored initially in the database.
SITE_NAME="ADIT"
SITE_DOMAIN=localhost
SITE_USES_HTTPS=false
# SSL configuration settings for generating certificates.
# These variables are used to create a certificate key, self-signed certificate,
# and the corresponding certificate chain. If you have an existing certificate
# key and signed certificate from your CA, you can generate the corresponding
# certificate chain using 'invoke generate-certificate-chain'.
SSL_HOSTNAME=localhost
SSL_IP_ADDRESSES=127.0.0.1
SSL_CERT_FILE="./cert.pem"
SSL_KEY_FILE="./key.pem"
SSL_CHAIN_FILE="./chain.pem"
DISABLE_HTTP=false # Optional, defaults to false
# The timezone that the web interface uses.
USER_TIME_ZONE="Europe/Berlin"
# The calling AE title of ADIT.
CALLING_AE_TITLE="ADIT1DEV"
# The AE title where the receiver is listening for incoming files.
RECEIVER_AE_TITLE="ADIT1DEV"
# Replicas of the services that can be scaled (production only).
WEB_REPLICAS=5
DICOM_WORKER_REPLICAS=3
# The directory where download folders are mounted.
MOUNT_DIR="/mnt"
# Docker swarm mode does not respect the Docker Proxy client configuration
# (see https://docs.docker.com/network/proxy/#configure-the-docker-client),
# but we can set those environment variables manually.
# Malke sure to use .local in NO_PROXY as otherwise the communication with
# the other services will not work.
# HTTP_PROXY="http://user:[email protected]:8080"
# HTTPS_PROXY="http://user:[email protected]:8080"
# NO_PROXY="localhost,.local"