-
Notifications
You must be signed in to change notification settings - Fork 80
/
docker-compose.yml
55 lines (51 loc) · 995 Bytes
/
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
version: '3.1'
services:
nginx:
container_name: nginx-angular
image: nginx-angular
build:
context: ./client
dockerfile: Dockerfile
ports:
- "80:80"
- "443:443"
depends_on:
- nest
networks:
- nest-mean-network
nest:
container_name: nest-server
image: nest-server
build:
context: ./server
dockerfile: Dockerfile
environment:
- NODE_ENV=development
ports:
- "3000:3000"
depends_on:
- nest-mongodb
networks:
- nest-mean-network
nest-mongodb:
container_name: mongodb
image: mongo
ports:
- "27017:27017"
networks:
- nest-mean-network
cadvisor:
container_name: cadvisor
image: google/cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
ports:
- "8080:8080"
networks:
- nest-mean-network
networks:
nest-mean-network:
driver: bridge