-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose-pizza-application.yml
executable file
·47 lines (47 loc) · 1.39 KB
/
docker-compose-pizza-application.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
version: '3.5'
services:
#---------------------#
# Pizza Order Service #
#---------------------#
pizza-order-service:
container_name: pizza-order-service.local
image: pizza-order-service:local
ports:
- 18080:8080
- 18000:8000
networks:
- security-practices-network
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
- SPRING_PROFILES_ACTIVE=dockerlocal
#-----------------------#
# Pizza Cooking Service #
#-----------------------#
pizza-cooking-service:
container_name: pizza-cooking-service.local
image: pizza-cooking-service:local
ports:
- 28080:8080
- 28000:8000
networks:
- security-practices-network
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
- SPRING_PROFILES_ACTIVE=dockerlocal
#------------------------#
# Pizza Delivery Service #
#------------------------#
pizza-delivery-service:
container_name: pizza-delivery-service.local
image: pizza-delivery-service:local
ports:
- 38080:8080
- 38000:8000
networks:
- security-practices-network
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
- SPRING_PROFILES_ACTIVE=dockerlocal
networks:
security-practices-network:
name: security-practices