-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.sample
More file actions
65 lines (53 loc) · 2.53 KB
/
.env.sample
File metadata and controls
65 lines (53 loc) · 2.53 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
# SPDX-FileCopyrightText: Copyright (C) 2023 Opal Health Informatics Group at the Research Institute of the McGill University Health Centre <john.kildea@mcgill.ca>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
ENVIRONMENT_NAME=local
# Database settings
# Opal Database
OPAL_DB_HOST=host.docker.internal
OPAL_DB_USER=opal
OPAL_DB_PASSWORD=
OPAL_DB_PORT=3307
# Questionnaire DB settings
QUESTIONNAIRE_DB_HOST=host.docker.internal
QUESTIONNAIRE_DB_PORT=3307
QUESTIONNAIRE_DB_USER=opal
QUESTIONNAIRE_DB_PASSWORD=
# New Opaladmin settings, note: it should not have slash at the end
NEW_OPALADMIN_HOST_INTERNAL=http://host.docker.internal:8000
NEW_OPALADMIN_HOST_EXTERNAL=http://localhost:8000
# Token from new opaladmin
NEW_OPALADMIN_TOKEN=
# SSL configurations for the database connection
# To use secure transport for the database connections (e.g., over SSL), set DATABASE_USE_SSL=1
DATABASE_USE_SSL=0
# SSL_CA is the path to the CA's public certificate that was used to issue the DB server's certificate.
# It must be the same certificate that is used in the database-server SSL settings.
# See the db-docker repository README for the details on how to generate certificates and use encrypted connections.
# https://gitlab.com/opalmedapps/db-docker#running-the-databases-with-encrypted-connections
SSL_CA=/var/www/html/certs/ca.pem
# ----- Push Notification Configurations - FCM and APN ----
# API access key from Google API's Console
PUSH_NOTIFICATION_ANDROID_URL=https://fcm.googleapis.com/v1/projects/<YOUR_FIREBASE_PROJECT_ID>/messages:send
# Apple certificate private key passphrase and PEM file
APPLE_CERT_FILENAME=APPLE_CERTIFICATE_FILENAME_HERE
APPLE_URL=APPLE_APNS_SERVER_URL
APPLE_CERT_KEY=APPLE_CERTIFICATE_KEY_HERE
APPLE_TOPIC=APP_TOPIC_NAME_HERE
## Firebase Configurations
# EG: https://url-to-your-firebase.com
FIREBASE_DATABASE_URL=https://opal-local-dadaa-default-rtdb.firebaseio.com
FIREBASE_ADMIN_KEY_PATH=/app/config/firebase/firebase-admin-key.json
# path configurations - note that trailing slash is REQUIRED!
CLINICAL_REPORTS_PATH=/var/www/html/opaldocuments
# Active Directory Settings
AD_ENABLED=0
# FEDAUTH_INSTITUTION=06-ciusss-cusm
# FEDAUTH_API_ENDPOINT=https://fedauthfcp.rtss.qc.ca/fedauth/wsapi/login
# set ORMS_ENABLED=0 to disable the functionalities of the ORMS if the hospital has no ORMS
ORMS_ENABLED=1
# the external and internal ORMS hosts (trailing slash required)
ORMS_HOST=http://localhost:8086/orms/
ORMS_HOST_INTERNAL=http://host.docker.internal:8086/orms/
# URL to the VSign WebService of OASIS (QA) for labs
LABS_OASIS_WSDL_URL=