-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 loc) · 959 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
version: '3.9'
services:
app:
# build: .
# container_name: node-app
image: node:20-alpine
# name: app
working_dir: /app
# ports:
# - "3000:9229"
volumes:
- ./:/app
command: tail -f /dev/null
# deploy:
# resources:
# limits:
# memory: 300M
# reservations:
# memory: 300M
upload:
# build: .
# container_name: node-app
image: golang:alpine
# name: app
working_dir: /app
# ports:
# - "3000:9229"
volumes:
- ./:/app
command: tail -f /dev/null
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
ports:
- "3000:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
privileged: true
devices:
- /dev/kmsg:/dev/kmsg
#restart: unless-stopped