-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
48 lines (45 loc) · 1.24 KB
/
compose.yaml
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
services:
database:
image: quasari/database
restart: always
ports:
- "5431:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U docker"]
interval: 10s
timeout: 5s
retries: 5
extra_hosts:
- "host.docker.internal:host-gateway"
mongo:
image: mongo
restart: always
ports:
- "27018:27017"
extra_hosts:
- "host.docker.internal:host-gateway"
workers:
image: quasari/workers
restart: always
environment:
- GRAPHILE_CONNECTION_STRING=postgresql://docker:[email protected]:5431/graphile
- FUNCTION_SERVER_URL=http://host.docker.internal:3002/calls
- MONGO_CONNECTION_STRING=mongodb://host.docker.internal:27018/logs
depends_on:
database:
condition: service_healthy
extra_hosts:
- "host.docker.internal:host-gateway"
ingress:
image: quasari/ingress
restart: always
ports:
- "3001:3000"
environment:
- GRAPHILE_CONNECTION_STRING=postgresql://docker:[email protected]:5431/graphile
- MONGO_CONNECTION_STRING=mongodb://host.docker.internal:27018/logs
depends_on:
database:
condition: service_healthy
extra_hosts:
- "host.docker.internal:host-gateway"