-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
106 lines (90 loc) · 4.05 KB
/
.env.sample
File metadata and controls
106 lines (90 loc) · 4.05 KB
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
101
102
103
104
105
106
DEBUG=True
DJANGO_SETTINGS_MODULE=config.settings.development
# set host to localhost to support calling manage.py from local venv (and container)
# use IP to enforce TCP protocol for mysql client
DATABASE_HOST=127.0.0.1
DATABASE_USER=opal
DATABASE_PASSWORD=change-my-super-secret-password
DATABASE_NAME=opal
DATABASE_PORT=3306
# legacy DB settings
LEGACY_DATABASE_HOST=127.0.0.1
# This next value should match the username value from your db-management setup.
LEGACY_DATABASE_USER=opal
LEGACY_DATABASE_PASSWORD=change-my-super-secret-password
LEGACY_DATABASE_PORT=3307
# Optional: SSL configurations for the database connection
#
# To use secure transport for the database connections (e.g., over SSL), uncomment the following line
# DATABASE_USE_SSL=True
# If the DB server uses a self-signed certificate you will need to provide the CA's public key
# SSL_CA is the path to the CA's public certificate that was used to issue the DB server's certificate.
# SSL_CA=/app/certs/ca.pem
# generate secret key using
# uv run python -c "import secrets; print(secrets.token_urlsafe())"
# see: https://humberto.io/blog/tldr-generate-django-secret-key/
SECRET_KEY=
# CORS settings
CORS_ALLOWED_ORIGINS=http://localhost:8082,http://localhost:8086,http://127.0.0.1:8082,http://127.0.0.1:8086
CORS_ALLOW_CREDENTIALS=True
CSRF_TRUSTED_ORIGINS=http://localhost:8082,http://localhost:8086,http://127.0.0.1:8086,http://127.0.0.1:8000
# Legacy Opal Admin backend url (no trailing slash)
OPAL_ADMIN_URL=http://localhost:8082
# Source System/Integration Engine
SOURCE_SYSTEM_HOST=https://172.26.125.233
SOURCE_SYSTEM_USER=changeme
SOURCE_SYSTEM_PASSWORD=changeme
# Email SMTP server
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_HOST_USER=info@opalmedapps.com
EMAIL_HOST_PASSWORD=changeme
# Opal User Registration URL
OPAL_USER_REGISTRATION_URL=https://research.registration.opalmedapps.ca
# Institution code for registration
INSTITUTION_CODE=D1
# Sending SMS message settings
SMS_ENABLED=False
# TWILIO_ACCOUNT_SID=
# TWILIO_AUTH_TOKEN=
# SMS_FROM=
# Path to the pathology reports folder
# Make sure the specified folder exists on your machine, otherwise it will throw a FileNotFoundError
# For the local environment, use "/your-opal-project-path/tmp/pathology"
# or any other preferable folder
PATHOLOGY_REPORTS_PATH=/tmp/pathology/
# Whether the QSCC Databank project is active or not
# Note: Assumes the OIE has been properly configured and has databank credentials in its environment
DATABANK_ENABLED=False
# Temporary environmement variable for the PDF generation
REPORT_SOURCE_SYSTEM=OPAL
REPORT_DOCUMENT_NUMBER=CHANGEME
# Optional: Opal Room Management System (ORMS)
# ORMS_ENABLED=True
# ORMS origin url (no slash at the end!)
# ORMS_HOST=http://host.docker.internal:8086/orms
# Optional: FHIR API to retrieve data for International Patient Summary from
# Note: The env variables dependent on this flag are uncommented for easier testing
# IPS_ENABLED=True
# If configured, generates IPS bundles in the following language (two-letter language code)
# If not defined (typical use case), IPS will default to the system's primary language, i.e. the first entry of LANGUAGES in config/settings/base.py
# IPS_LANGUAGE=en
# FHIR_API_URL=
# FHIR_API_OAUTH_URL=
# FHIR_API_CLIENT_ID=
# Private key of the JSON Web Key
# FHIR_API_PRIVATE_KEY=
# FileSystemStorage is useful for testing
# for production, you can use storage backends from django-storages
# https://django-storages.readthedocs.io/en/latest/
# note that with the exception of the FTP storage,
# you need to customize config.settings.production to set the required storage backend settings
# IPS_STORAGE_BACKEND=django.core.files.storage.FileSystemStorage
# Public base URL where the IPS can be retrieved
# IPS_PUBLIC_BASE_URL=
# Optional: FedAuth web service API settings
# FEDAUTH_API_ENDPOINT=https://fedauthfcp.rtss.qc.ca/fedauth/wsapi/login
# FEDAUTH_INSTITUTION=
# EPRO Data Extractions Tool - List of PatientIds to be excluded from Questionnaire reports
# (NOT the OpalDB.patient.PatientSerNum, this list is the QuestionnaireDB.patient.ID)
# TEST_PATIENT_QUESTIONNAIREDB_IDS=3