mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-13 02:30:57 +01:00
16 lines
385 B
YAML
16 lines
385 B
YAML
---
|
|
volumes:
|
|
prometheus-data:
|
|
driver: local
|
|
services:
|
|
prometheus:
|
|
image: docker.io/prom/prometheus:v2.53.0
|
|
container_name: prometheus
|
|
ports:
|
|
- 9090:9090
|
|
command: "--config.file=/etc/prometheus/prometheus.yaml"
|
|
volumes:
|
|
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
|
- prometheus-data:/prometheus
|
|
restart: unless-stopped
|