forked from movio/bramble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (48 loc) · 1.01 KB
/
docker-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
version: "3"
services:
gqlgen-server:
build:
context: examples/gqlgen-service
healthcheck:
test: wget -qO - http://localhost:8080/health
interval: 5s
timeout: 1s
retries: 5
expose:
- 8080
gophers-server:
healthcheck:
test: wget -qO - http://localhost:8080/health
interval: 5s
timeout: 1s
retries: 5
build:
context: examples/graph-gophers-service
expose:
- 8080
nodejs-server:
healthcheck:
test: wget -qO - http://localhost:8080/health
interval: 5s
timeout: 1s
retries: 5
build:
context: examples/nodejs-service
expose:
- 8080
gateway:
build:
context: .
volumes:
- ./examples/example-config.json:/config.json
ports:
- 8082:8082
- 8083:8083
- 8084:8084
depends_on:
gqlgen-server:
condition: service_healthy
gophers-server:
condition: service_healthy
nodejs-server:
condition: service_healthy