-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (50 loc) · 1.46 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
version: '3'
services:
users:
build:
context: ./GraphQLUserService
image: graphqlusers
ports:
- "8081:80"
- "4444:443"
addresses:
build:
context: ./GraphQLAddressService
image: graphqladdresses
ports:
- "8084:80"
- "4447:443"
products:
build:
context: ./GraphQLProductService
image: graphqlproducts
ports:
- "8082:80"
- "4445:443"
baskets:
build:
context: ./GraphQLBasketService
image: graphqlbaskets
ports:
- "8083:80"
- "4446:443"
graphql-gateway:
# build:
# context: ./GraphQLGateway
image: graphql/gateway
links:
- baskets
- users
- products
ports:
- 8080:80
environment:
- GRAPHQL_URL_0=http://users/graphql
- GRAPHQL_URL_1=http://products/graphql
- GRAPHQL_URL_2=http://baskets/graphql
- GRAPHQL_URL_3=http://addresses/graphql
# - GRAPHQL_URL_2=http://host.docker.internal:59673/graphql
# - GRAPHQL_URL_0=http://host.docker.internal:4001/graphql
# - GRAPHQL_URL_1=http://host.docker.internal:4002/graphql
# - GRAPHQL_URL_2=http://host.docker.internal:4003/graphql
# - GRAPHQL_URL_3=http://host.docker.internal:4004/graphql