-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml.dist
128 lines (122 loc) · 2.56 KB
/
docker-compose.override.yml.dist
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
version: '3.2'
services:
cadvisor:
deploy:
resources:
limits:
cpus: '0.10'
memory: 128M
reservations:
cpus: '0.10'
memory: 64M
restart_policy:
condition: any
delay: 5s
window: 10s
environment:
- TERM
networks:
- default
ports:
- mode: host
protocol: tcp
published: 8080
target: 8080
restart: always
docker-exporter:
deploy:
resources:
limits:
cpus: '0.05'
memory: 6M
reservations:
cpus: '0.05'
memory: 4M
restart_policy:
condition: any
delay: 5s
window: 10s
env_file: ./docker/docker-exporter/.env
environment:
- TERM
image: quay.io/tripviss/tripviss-monitoring:docker-exporter
networks:
- default
restart: always
grafana:
deploy:
resources:
limits:
cpus: '0.50'
memory: 64M
reservations:
cpus: '0.50'
memory: 32M
env_file: ./docker/grafana/.env
environment:
- LETSENCRYPT_HOST=
- TERM
- VIRTUAL_HOST=status.tripviss.com
networks:
- default
- tripvissnginxproxy_default
restart: always
volumes:
- ./docker/grafana/data:/var/lib/grafana:rw
node-exporter:
deploy:
resources:
limits:
cpus: '0.10'
memory: 32M
reservations:
cpus: '0.10'
memory: 16M
restart_policy:
condition: any
delay: 5s
window: 10s
environment:
- TERM
image: quay.io/tripviss/tripviss-monitoring:node-exporter
networks:
- default
ports:
- mode: host
protocol: tcp
published: 9100
target: 9100
restart: always
prometheus:
deploy:
resources:
limits:
cpus: '0.50'
memory: 1G
reservations:
cpus: '0.50'
memory: 128M
restart_policy:
condition: any
delay: 5s
window: 10s
env_file: ./docker/prometheus/.env
environment:
- TERM
image: quay.io/tripviss/tripviss-monitoring:prometheus
networks:
- default
ports:
- mode: host
protocol: tcp
published: 9090
target: 9090
restart: always
volumes:
# - ./docker/prometheus/confd:/usr/local/etc/confd:ro
- ./docker/prometheus/data:/prometheus:rw
networks:
default: {}
tripvissnginxproxy_default:
external: true