forked from adoptium/aqa-test-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (52 loc) · 1.08 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
version: "3"
services:
mongo:
container_name: "${MONGO_CONTAINER_NAME}"
image: mongo:4.0.9
ports:
- "27017:27017"
networks:
- trss-app
volumes:
- mongo-data:/data/db
mongo-seed:
build: TestResultSummaryService/data
depends_on:
- mongo
links:
- mongo
networks:
- trss-app
service:
build: TestResultSummaryService
container_name: "${SERVICE_CONTAINER_NAME}"
depends_on:
- mongo
ports:
- "3001:3001"
networks:
- trss-app
environment:
- MONGO_CONTAINER_NAME=${MONGO_CONTAINER_NAME}
volumes:
- ./TestResultSummaryService:/usr/src/app
client:
build: test-result-summary-client
container_name: "${CLIENT_CONTAINER_NAME}"
stdin_open: true
depends_on:
- service
ports:
- "3000:3000"
networks:
- trss-app
environment:
- SERVICE_CONTAINER_NAME=${SERVICE_CONTAINER_NAME}
# volumes:
# - ./test-result-summary-client:/usr/src/app
networks:
trss-app:
driver: bridge
volumes:
mongo-data:
driver: local