forked from eclipse-arrowhead/core-java-spring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (80 loc) · 2.26 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3"
services:
mysql:
container_name: mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=THIS_WILL_BE_YOUR_CONTAINERS_ROOT_PW
volumes:
- mysql:/var/lib/mysql
- ./sql:/docker-entrypoint-initdb.d/
ports:
- 3306:3306
serviceregistry:
container_name: serviceregistry
image: svetlint/serviceregistry:latest
depends_on:
- mysql
volumes:
# dont forget to change the route of the locally available config file
# format is <file on your local machine, (change this!!!)>:<file location inside the container (don't change this part!!!)>
- ./core_system_config/serviceregistry.properties:/serviceregistry/application.properties
ports:
- 8443:8443
authorization:
container_name: authorization
image: svetlint/authorization:latest
depends_on:
- mysql
volumes:
- ./core_system_config/authorization.properties:/authorization/application.properties
ports:
- 8445:8445
orchestrator:
container_name: orchestrator
image: svetlint/orchestrator:latest
depends_on:
- mysql
volumes:
- ./core_system_config/orchestrator.properties:/orchestrator/application.properties
ports:
- 8441:8441
eventhandler:
container_name: eventhandler
image: svetlint/eventhandler:latest
depends_on:
- mysql
volumes:
- ./core_system_config/eventhandler.properties:/eventhandler/application.properties
ports:
- 8455:8455
gatekeeper:
container_name: gatekeeper
image: svetlint/gatekeeper:latest
depends_on:
- mysql
volumes:
- ./core_system_config/gatekeeper.properties:/gatekeeper/application.properties
ports:
- 8449:8449
gateway:
container_name: gateway
image: svetlint/gateway:latest
depends_on:
- mysql
volumes:
- ./core_system_config/gateway.properties:/gateway/application.properties
ports:
- 8453:8453
certificateauthority:
container_name: certificateauthority
image: svetlint/certificateauthority:latest
depends_on:
- mysql
volumes:
- ./core_system_config/certificateauthority.properties:/certificateauthority/application.properties
ports:
- 8448:8448
volumes:
mysql:
external: true