-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (49 loc) · 1.18 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
version: '2'
services:
mongo-db:
image: mongo:3.7.1
networks:
main:
aliases:
- mongo-db
comparison-api:
build: backend/comparison-api
ports:
- "9000:9000"
networks:
main:
aliases:
- comparison-api
violation-api:
build: ../zally/server
environment:
- SPRING_PROFILES_ACTIVE=dev
- MANAGEMENT_PORT=7979
- TOKEN_INFO_URI=https://url.not.set
networks:
main:
aliases:
- violation-api
rest-quality-api:
build: backend/spring-server
ports:
- "8080:8500"
environment:
JKU_REST_QUALITY_API_MONGO_DB_HOSTNAME: mongo-db
JKU_REST_QUALITY_API_ZALLY_CONNECTION_STRING: http://violation-api:8080
JKU_REST_QUALITY_API_SWAGGERDIFF_CONNECTION_STRING: http://comparison-api:9000
JKU_REST_QUALITY_API_DOCKER_CONNECTION_STRING: http://rest-quality-api:8500
networks:
main:
aliases:
- rest-quality-api
frontend:
build: frontend
ports:
- "12568:8000"
networks:
main:
aliases:
- frontend
networks:
main: