Update prometheus/docker-compose.yml
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
container_name: prometheus
|
# container_name: prometheus
|
||||||
command:
|
command:
|
||||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||||
ports:
|
ports:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus:/etc/prometheus
|
- /mnt/cephfs/docker/prometheus:/etc/prometheus
|
||||||
- prom_data:/prometheus
|
- /mnt/cephfs/docker/prometheus/prom_data:/prometheus
|
||||||
|
|
||||||
volumes:
|
|
||||||
prom_data:
|
|
||||||
Reference in New Issue
Block a user