-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (73 loc) · 2.14 KB
/
docker-compose.yml
File metadata and controls
74 lines (73 loc) · 2.14 KB
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
services:
api-gateway:
build:
context: ./api-gateway
dockerfile: Dockerfile
container_name: api-gateway
ports:
- "8080:8080"
networks:
- app-network
environment:
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: "http://admin:admin@jhipster-registry:8761/eureka/"
artemis-1:
build:
context: ./artemis
dockerfile: Dockerfile
environment:
- SPRING_PROFILES_ACTIVE=text,quiz
- ARTEMIS_INSTANCE_NAME=artemis-1
- EUREKA_INSTANCE_IP_ADDRESS=host.docker.internal # VM-IP in distributed setup
- EUREKA_INSTANCE_NON_SECURE_PORT=8083 # Host-Port on VM, required for distributed setup
ports:
- "8083:8081"
networks:
- app-network
artemis-2:
build:
context: ./artemis
dockerfile: Dockerfile
environment:
- SPRING_PROFILES_ACTIVE=quiz
- ARTEMIS_INSTANCE_NAME=artemis-2
networks:
- app-network
artemis-3:
build:
context: ./artemis
dockerfile: Dockerfile
environment:
- SPRING_PROFILES_ACTIVE=quiz,assessment,athena,atlas,buildagent,core,exam,exercise,feedback,lecture,programming,quiz,solution,student,team,version-control
- ARTEMIS_INSTANCE_NAME=artemis-3
networks:
- app-network
artemis-4:
build:
context: ./artemis
dockerfile: Dockerfile
environment:
- SPRING_PROFILES_ACTIVE=quiz,assessment,athena,atlas,buildagent,core,exam,exercise,feedback,lecture,programming,quiz,solution,student,team,version-control
- ARTEMIS_INSTANCE_NAME=artemis-4
networks:
- app-network
artemis-5:
build:
context: ./artemis
dockerfile: Dockerfile
environment:
- SPRING_PROFILES_ACTIVE=quiz,assessment,athena,atlas,buildagent,core,exam,exercise,feedback,lecture,programming,quiz,solution,student,team,version-control
- ARTEMIS_INSTANCE_NAME=artemis-5
networks:
- app-network
jhipster-registry:
image: jhipster/jhipster-registry
container_name: jhipster-registry
environment:
- XDG_CONFIG_HOME=/tmp/.config
ports:
- "8761:8761"
networks:
- app-network
networks:
app-network:
driver: bridge