-
Notifications
You must be signed in to change notification settings - Fork 14
/
sample.env
156 lines (131 loc) · 3.97 KB
/
sample.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# BOSTON WAREHOUSE DEVELOPMENT ENV FILE
RAILS_ENV=development
HOSTNAME=hmis-warehouse.dev.test
FQDN=hmis-warehouse.dev.test
PORT=3000
DEFAULT_FROM='"No Reply" <noreply@greenriver.com>'
CLIENT=
LOGO=
PRINT_LOGO=
CAREPLAN_LOGO=
SMTP_SERVER=mailhog
SMTP_DOMAIN=hmis-warehouse.dev.test
SMTP_PORT=1025
MAIL_DELIVERY_METHOD=smtp
TIMEZONE=America/New_York
DAILY_SCHEDULE="9:05 pm"
# Bucket name to use for local stack. Run this inside the localstack container to create the bucket:
# awslocal s3api create-bucket --bucket <your-bucket-name>
ACTIVE_STORAGE_BUCKET=
# Database
DATABASE_ADAPTER=postgresql
DATABASE_APP_DB=development_openpath_app
DATABASE_CAS_DB=development_openpath_cas
CAS_DATABASE_ADAPTER=postgresql
CAS_DATABASE_PORT=5432
CAS_DATABASE_USER=postgres
CAS_DATABASE_PASS=postgres
CAS_DATABASE_HOST=db
DATABASE_HOST=db
DATABASE_PORT=
DATABASE_USER=postgres
DATABASE_PASS=postgres
# Warehouse
WAREHOUSE_DATABASE_ADAPTER=postgis
WAREHOUSE_DATABASE_DB=development_openpath_warehouse
WAREHOUSE_DATABASE_HOST=db
WAREHOUSE_DATABASE_PORT=
WAREHOUSE_DATABASE_USER=postgres
WAREHOUSE_DATABASE_PASS=postgres
# Health
HEALTH_DATABASE_ADAPTER=postgresql
HEALTH_DATABASE_DB=development_openpath_health
HEALTH_DATABASE_HOST=db
HEALTH_DATABASE_PORT=
HEALTH_DATABASE_USER=postgres
HEALTH_DATABASE_PASS=postgres
HEALTH_FROM='"Coordinated Care Hub" <noreply@greenriver.com>'
# Reporting
REPORTING_DATABASE_ADAPTER=postgresql
REPORTING_DATABASE_DB=development_openpath_reporting
REPORTING_DATABASE_HOST=db
REPORTING_DATABASE_PORT=
REPORTING_DATABASE_USER=postgres
REPORTING_DATABASE_PASS=postgres
# Cache store
CACHE_HOST=redis
CACHE_PORT=6379
CACHE_DB=1
# Exceptions
# EXCEPTION_WEBHOOK_URL=
# EXCEPTION_WEBHOOK_CHANNEL=
# EXCEPTION_WEBHOOK_ICON=
# Health SFTP
HEALTH_SFTP_HOST=
HEALTH_SFTP_PATH=
HEALTH_SFTP_USER=
HEALTH_SFTP_PASS=
HEALTH_SFTP_DESTINATION=
# Weather
WEATHER_EMAIL=
WEATHER_TOKEN=
WEATHER_DARKSKY=
WEATHER_STATIONID=
# Other settings
# SANDBOX_RECIPIENTS=
# SANDBOX_WHITELIST=
# Must be 32 characters
ENCRYPTION_KEY="V6P&GMjGQd_Xc5MVMAD)yDpUCgEFtbo$"
# ProtectedId settings
PROTECTED_IDS=true
# Must be 8 characters
PROTECTED_ID_KEY="yWGFTK4U"
# SECURITY
# ACCOUNT_EXPIRATION_DAYS=false # true, false, or number of days
# ACCOUNT_UNLOCK_HOURS=1
# PASSWORD_RESET_VALID_FOR_MINUTES=360
# PASSWORD_REUSE_LIMIT=false # false or number
# PASSWORD_MINIMUM_LENGTH=12
# PASSWORD_COMPLEXITY_ENFORCED=false
# PASSWORD_SEQUENTIAL_CHARACTERS_ENFORCED=true
# PASSWORD_ATTEMPTS_ALLOWED=5
# PASSWORD_EXPIRATION_DAYS=false
# SKIP_SESSION_LIMITABLE=true
S3_TMP_BUCKET=
S3_TMP_ACCESS_KEY_ID=
S3_TMP_ACCESS_KEY_SECRET=
S3_TMP_REGION=
S3_PUBLIC_BUCKET=
S3_PUBLIC_ACCESS_KEY_ID=
S3_PUBLIC_ACCESS_KEY_SECRET=
S3_PUBLIC_REGION=
S3_PUBLIC_URL=
# Optional: Enable 'Sign in with Okta'
# OKTA_DOMAIN is the domain portion of the URL for your Okta site.
# The OKTA integration will be disabled entirely unless this
# variable is set.
# For testing/development you can # create one at
# https://developer.okta.com/
# OKTA_DOMAIN=dev-XXXX.okta.com
# You will need to register a new Open ID Connect Application
# in Okta and Assign it to your user(s).
# We use the Authorization Code flow, Refresh token
# and Implicit are optional. We don't need Client Credentials
# for anything yet.
#
# Add "#{root_url}/users/auth/okta/callback"
# as the "Redirect URL". e.g. a stock Rails app would use
# http://localhost:3000/users/auth/okta/callback
# Retrieve the following required from the UI.
# OKTA_CLIENT_ID=....
# OKTA_CLIENT_SECRET=...
# HMIS_OKTA_CLIENT_ID=....
# HMIS_OKTA_CLIENT_SECRET=...
# Okta supports multiple "auth servers". You can optionally
# override the default with:
# OKTA_AUTH_SERVER=some_id_string
# For users to self-register we require given_name, family_name and email to be present and mapped in the settings.
# Optional: Enable API endpoints for the HMIS frontend
# ENABLE_HMIS_API=true
# HMIS_HOSTNAME=hmis.dev.test
# Note: in production, HMIS_HOSTNAME can support comma-separated values (eg HMIS_HOSTNAME=hmis-1.openpath.host,hmis-2.openpath.host)