mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2026-01-19 22:36:17 +00:00
Add configuration files and compose setups for Grafana Alloy, Backrest, Loki, and Prometheus
This commit is contained in:
24
prometheus/compose.yml
Normal file
24
prometheus/compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
name: prometheus
|
||||
|
||||
services:
|
||||
prometheus:
|
||||
image: docker.io/prom/prometheus
|
||||
container_name: prometheus
|
||||
ports:
|
||||
- 9090:9090
|
||||
command: "--config.file=/etc/prometheus/prometheus.yaml --web.enable-remote-write-receiver"
|
||||
volumes:
|
||||
- ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro
|
||||
- prometheus-data:/prometheus
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
prometheus-data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user