-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
71 lines (51 loc) · 2.32 KB
/
Copy path.env.example
File metadata and controls
71 lines (51 loc) · 2.32 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
APP_LOG_LEVEL = "DEBUG"
APP_LOG_PATH = "/path/to/log/file/log.txt"
AUDIT_LOG_PATH = "/path/to/audit/log/file/log.txt"
AUDIT_LOG_PUBLIC_KEY_PATH = "/path/to/audit/log/public_key/keyfile.pem"
AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING=""
# This file is used to configure the client applications and their IDs. It should be a
# JSON list of objects, each with the following keys:
# - client_id
# - application_id
# - application_name
# Example:
# [
# {
# "client_id": "E8aUJURhPUrf3DiFxRsYKk3jjh7a",
# "application_id": "74916a90-718d-4cef-8da4-43863df11198",
# "application_name": "App Name"
# }
# ]
CLIENT_APPLICATION_DETAILS_FILE="path/to/client/applications/metadata/file.json"
# This file lists the origins that browser based applications, such as the IATI
# Dashboard, may call this API from. It should be a JSON list of origins. Each origin
# must be of the form scheme://host[:port] - lower case, with no trailing slash and no
# path - because the browser sends the Origin header in exactly that form and it is
# matched by string equality. Wildcards are not allowed.
# Example:
# [
# "https://dev-dashboard.iatistandard.org",
# "http://localhost:5173"
# ]
# If this variable is omitted the API allows no cross-origin requests at all, which is
# the correct setting for a deployment that only serves server-to-server clients.
# CORS_ALLOWED_ORIGINS_FILE="path/to/cors/allowed/origins/file.json"
DATA_REGISTRY_SUITECRM_API_URL = "https://base_url_of_suitecrm_instance.org"
DATA_REGISTRY_SUITECRM_CLIENT_ID = "RYD's client ID here"
DATA_REGISTRY_SUITECRM_CLIENT_SECRET = "RYD's client secret here"
EMAIL_ADDRESS_FOR_IATI_SUPPORT_APPROVALS="email_to_send_approvals_to@example.org"
EMAIL_NEW_ORG_NOTIFICATION_ADDRESS=""
EMAIL_SENDER_RYD_FROM_NAME=""
EMAIL_SENDER_RYD_FROM_EMAIL=""
EMAIL_TEMPLATES_DIR="email_templates"
FGA_PROVIDER_CONNECTION_STRING="FGA database connection string here"
FGA_PROVIDER=FineGrainedAuthorisationProviderPgDb
IATI_ACCOUNT_INSTANCE_BASE_URL="https://BASE_URL_HERE"
PROMETHEUS_PORT = 1111
JWKS_URI = "https://example.org/jwks"
JWT_AUDIENCE = "some_audience"
# Sentry error monitoring. Optional: leave SENTRY_DSN empty or unset to disable Sentry
# entirely - the application runs normally without it.
SENTRY_DSN=""
SENTRY_ENVIRONMENT="local-development"
SENTRY_TRACES_SAMPLE_RATE=1.0