-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (49 loc) · 1.04 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
version: '3.4'
services:
fibsrv:
image: crookedstorm/fibsrv:0.0.1
build:
context: .
dockerfile: ./Dockerfile
# ports:
# - 3000:3000
expose:
- "3000"
command:
fibsrv
deploy:
replicas: 6
prometheus:
image: prom/prometheus:v2.21.0
ports:
- 9000:9090
volumes:
- ./deployments/prometheus:/etc/prometheus/
# - prometheus-data:/prometheus
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
depends_on:
- cadvisor
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
# image: budry/cadvisor-arm:latest
container_name: cadvisor
ports:
- 8080:8080
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
depends_on:
- fibsrv
- nginx
nginx:
image: nginx:latest
volumes:
- ./deployments/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- fibsrv
ports:
- "4000:4000"
# volumes:
# prometheus-data: /prometheus