-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.33 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
version: "3.8"
services:
gateway:
image: nginx:1.19.8-alpine
# build:
# context: ./services/Gateway
# dockerfile: Dockerfile
ports:
- 8080:8080
networks:
- backend
volumes:
- ./services/Gateway/nginx.conf:/etc/nginx/nginx.conf
- ./services/Gateway/api_gateway.conf:/etc/nginx/api_gateway.conf
consumer-service:
image: danijelradakovic/consumer-service
build:
context: ./services/Consumer-Service
dockerfile: Dockerfile
ports:
- 9000:8080
networks:
- backend
order-service:
image: danijelradakovic/order-service
build:
context: ./services/Order-Service
dockerfile: Dockerfile
ports:
- 9001:8080
networks:
- backend
environment:
CONSUMER_SERVICE_DOMAIN: ${CONSUMER_SERVICE_DOMAIN}
CONSUMER_SERVICE_PORT: ${CONSUMER_SERVICE_PORT}
KITCHEN_SERVICE_DOMAIN: ${KITCHEN_SERVICE_DOMAIN}
KITCHEN_SERVICE_PORT: ${KITCHEN_SERVICE_PORT}
kitchen-service:
image: kitchen-service
build:
context: ./services/Kitchen-Service
dockerfile: Dockerfile
ports:
- 9002:8080
networks:
- backend
environment:
ORDER_SERVICE_DOMAIN: ${ORDER_SERVICE_DOMAIN}
ORDER_SERVICE_PORT: ${ORDER_SERVICE_PORT}
networks:
backend:
name: restuarant
driver: bridge