-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (43 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
49 lines (43 loc) · 1.06 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
version: "3.9"
services:
mongodb:
container_name: mongodb
image: mongo
restart: always
ports:
- 27017:27017
volumes:
- mongodb-data:/data/db
- mongodb-data:/data/configdb
mongo-express:
container_name: mongo-express
image: mongo-express
restart: always
ports:
- "8081:8081"
depends_on:
- "mongodb"
environment:
ME_CONFIG_MONGODB_URL: mongodb://mongodb:27017/
client-spa:
container_name: client-spa
image: client-spa
build:
context: src/frontends/client-spa
dockerfile: Dockerfile
ports:
- "4000:80"
test-service:
container_name: test-service
image: test-service
build:
context: src/backends/test-service
dockerfile: Dockerfile
restart: always
ports:
- "5000:8080"
depends_on:
- "mongodb"
volumes:
mongodb-data:
driver: local