-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
70 lines (64 loc) · 1.28 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
version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
networks:
- app-network
activity-tracking:
build:
context: ./activity-tracking
dockerfile: Dockerfile
environment:
- NODE_ENV=development
ports:
- "5300:5300"
depends_on:
- mongodb
networks:
- app-network
analytics:
build:
context: ./analytics
dockerfile: Dockerfile
environment:
- NODE_ENV=development
- MONGO_URI=mongodb://root:cfgmla23@mongodb:27017
ports:
- "5050:5050"
depends_on:
- mongodb
networks:
- app-network
authservice:
build:
context: ./authservice
dockerfile: Dockerfile
environment:
- SPRING_DATA_MONGODB_DATABASE=test
- SPRING_DATA_MONGODB_URI=mongodb://root:cfgmla23@mongodb:27017
ports:
- "8080:8080"
depends_on:
- mongodb
networks:
- app-network
mongodb:
image: mongo:latest
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=cfgmla23
ports:
- "27017:27017"
volumes:
- mongodbdata:/data/db
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
mongodbdata: