Update docker-compose.yml

store config file in /etc/prometheus, like described in the video
This commit is contained in:
Christian 2021-10-28 10:26:33 +02:00 committed by GitHub
parent 1bcde8cca9
commit 9e88939dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ services:
ports: ports:
- "9090:9090" - "9090:9090"
volumes: volumes:
- /config:/etc/prometheus - /etc/prometheus:/etc/prometheus
- prometheus-data:/prometheus - prometheus-data:/prometheus
restart: unless-stopped restart: unless-stopped
command: command: