-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
33 lines (31 loc) · 1.22 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
version: '3.3'
services:
graphql-gateway:
image: hansehe/graphql-gateway:${VERSION:-latest}
networks:
- backend_network
build:
context: ./src
dockerfile: Dockerfile
ports:
- 8181:80
environment:
- GRAPHQL_UPDATE_GATEWAY_WITH_TIMER=false
- GRAPHQL_UPDATE_GATEWAY_WITH_MQTT=true
- GRAPHQL_UPDATE_GATEWAY_MQTT_USERNAME=amqp
- GRAPHQL_UPDATE_GATEWAY_MQTT_PASSWORD=amqp
# - GRAPHQL_URL_0=http://host.docker.internal:5001/graphql
# - GRAPHQL_URL_1=http://host.docker.internal:5002/graphql
# - GRAPHQL_URL_0=http://host.docker.internal:8001/graphql
# - GRAPHQL_URL_1=http://host.docker.internal:8002/graphql
- GRAPHQL_URL_0=http://host.docker.internal:5001/graphql
- GRAPHQL_URL_1=http://host.docker.internal:5003/graphql
- GRAPHQL_URL_2=http://host.docker.internal:5004/graphql
- GRAPHQL_URL_3=http://host.docker.internal:5007/graphql
- GRAPHQL_URL_4=http://host.docker.internal:5012/graphql
- GRAPHQL_URL_5=http://host.docker.internal:5016/graphql
- GRAPHQL_URL_6=http://host.docker.internal:5009/graphql
- GRAPHQL_URL_7=http://host.docker.internal:5000/graphql
networks:
backend_network:
external: true