-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (91 loc) · 2 KB
/
docker-compose.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
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
version: "3.8"
services:
postgres:
image: postgres:12
environment:
- POSTGRES_DB
- POSTGRES_NONROOT_DB
- POSTGRES_NONROOT_PASSWORD
- POSTGRES_NONROOT_USER
- POSTGRES_PASSWORD
- POSTGRES_USER
- TZ=America/Montreal
volumes:
- ./.docker/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
redis:
image: redis:6-buster
restart: unless-stopped
scraper:
build:
context: ./scraper
dockerfile: Dockerfile
environment:
- POSTGRES_NONROOT_DB
- POSTGRES_NONROOT_PASSWORD
- POSTGRES_NONROOT_USER
- SCRAPER_HC_UUID
- TZ=America/Montreal
depends_on:
- postgres
mailer:
build:
context: ./mailer
dockerfile: Dockerfile
environment:
- MAILER_HC_UUID
- POSTGRES_NONROOT_DB
- POSTGRES_NONROOT_PASSWORD
- POSTGRES_NONROOT_USER
- SENDGRID_API_KEY
- SENDGRID_TEMPLATE
- TZ=America/Montreal
depends_on:
- postgres
notifier:
build:
context: ./notifier
dockerfile: Dockerfile
environment:
- NOTIFIER_HC_UUID
- POSTGRES_NONROOT_USER
- POSTGRES_NONROOT_PASSWORD
- POSTGRES_NONROOT_DB
- SLACK_NOTIFIER_HOOK
- TZ=America/Montreal
depends_on:
- postgres
backend:
build:
context: ./backend
dockerfile: Dockerfile
environment:
- TZ=America/Montreal
- POSTGRES_NONROOT_USER
- POSTGRES_NONROOT_PASSWORD
- POSTGRES_NONROOT_DB
- SENDGRID_API_KEY
- SENDGRID_TEMPLATE_CONFIRM
restart: unless-stopped
depends_on:
- postgres
- redis
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
- TZ=America/Montreal
restart: unless-stopped
depends_on:
- backend
- postgres
proxy:
build:
context: ./proxy
dockerfile: Dockerfile
environment:
- TZ=America/Montreal
restart: unless-stopped
depends_on:
- backend
- frontend