blob: d110f2a39c938eb45f1e1b902e54d1d6860b833b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
volumes:
prometheus-data:
driver: local
services:
prometheus:
image: docker.io/prom/prometheus:v3.4.1
container_name: prometheus
ports:
- 10.0.0.1:9090:9090
command: --config.file=/etc/prometheus/prometheus.yaml
volumes:
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
- prometheus-data:/prometheus
restart: unless-stopped
networks: {}
...
|