mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-11 17:51:47 +01:00
18 lines
365 B
YAML
18 lines
365 B
YAML
|
version: '3'
|
||
|
|
||
|
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
|
||
|
restart: unless-stopped
|
||
|
command:
|
||
|
- "--config.file=/etc/prometheus/prometheus.yml"
|