mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-26 02:05:06 +01:00
15 lines
344 B
YAML
15 lines
344 B
YAML
---
|
|
volumes:
|
|
prometheus-data:
|
|
driver: local
|
|
services:
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: prometheus
|
|
ports:
|
|
- 9090:9090
|
|
volumes:
|
|
- /etc/prometheus:/etc/prometheus
|
|
- prometheus-data:/prometheus
|
|
command: "--config.file=/etc/prometheus/prometheus.yml"
|
|
restart: unless-stopped |