-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1012 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
services:
traefik:
image: traefik:v3.2
container_name: traefik
command:
- --providers.docker.exposedByDefault=false
- --entryPoints.web.address=:80
- --log.level=DEBUG
ports:
- 80:80
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
restart: always
prometheus:
image: prom/prometheus:v3.0.1
container_name: prometheus
tty: true
ports:
- 9090:9090
volumes:
- type: bind
source: ./prometheus
target: /etc/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
user: ":"
restart: always
grafana:
image: grafana/grafana:11.4.0
container_name: grafana
tty: true
ports:
- 3001:3000
user: ":"
restart: always
node-exporter:
image: prom/node-exporter:v1.8.2
container_name: node-exporter
tty: true
ports:
- 9100:9100
restart: always
networks:
default:
name: sns-network