forked from dialoguemd-archives/covidflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yml
67 lines (64 loc) · 1.43 KB
/
app.yml
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
.aliases:
core: &core
port: 8080
public:
ingress:
websocket: true
scale:
horizontal: 3-12
vertical: medium.mem2x
healthcheck:
path: /
liveness:
initialDelaySeconds: 60
timeoutSeconds: 30
readiness:
initialDelaySeconds: 60
engine: ~2
name: covidflow
scope: ops
components:
core-en:
<<: *core
core-fr:
<<: *core
action-server:
port: 8080
scale:
horizontal: 2-4
vertical: small.mem
healthcheck:
liveness:
timeoutSeconds: 15
readiness:
initialDelaySeconds: 25
addons:
migrations:
image:
repo: covidflow-action-server
scale:
memThreshold: false
environment:
COUNTRY_CODE: ca
ALEMBIC_DATABASE_URI: postgresql+psycopg2://$(SQL_TRACKER_STORE_USER):$(SQL_TRACKER_STORE_PASSWORD)@$(SQL_TRACKER_STORE_URL):5432/$(SQL_TRACKER_STORE_DB)
DAILY_CHECKIN_URL_PATTERN: "https://covid19.dialogue.co/?lng={language}#/chat/ci/{reminder_id}"
REMINDER_ID_HASHIDS_MIN_LENGTH: 8
LOG_LEVEL: DEBUG
environments:
dev-ca2:
environment:
TWILIO_NUMBER: "+14382996778"
prod-ca:
components:
core-en:
public:
ingress:
additionalHostnames:
- covidflow-core-en.dialogue.co
core-fr:
public:
ingress:
additionalHostnames:
- covidflow-core-fr.dialogue.co
environment:
TWILIO_NUMBER: "+14382996828"