-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
67 lines (63 loc) · 1.59 KB
/
docker-compose.yaml
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
version: '3'
services:
keeper:
image: ${DOCKER_IMAGE}
restart: unless-stopped
env_file: .env
volumes:
- ./config.yaml:/app/config.yaml
auto-swap:
image: ${DOCKER_IMAGE_AUTO_SWAP}
build:
context: auto-swap
env_file: .env.autoswap
restart: unless-stopped
wallet-tracker:
image: ${DOCKER_IMAGE_WALLET_TRACKER}
build:
context: wallet-tracker
env_file: .env
restart: unless-stopped
user-metrics:
image: wirelos/user-metrics:0.1.0
env_file: .env.user-metrics
restart: unless-stopped
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--web.config.file=/etc/prometheus/web.yml'
ports:
- 9090:9090
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
expose:
- 9100
grafana:
image: grafana/grafana
container_name: grafana
env_file: .env.monitoring
ports:
- 3000:3000
restart: unless-stopped
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/var/lib/grafana/dashboards
volumes:
prom_data: