sync @ 2026-04-03T22:42:09Z
This commit is contained in:
21
inventory/com1/docker-compose.monitoring.yml
Normal file
21
inventory/com1/docker-compose.monitoring.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.9"
|
||||
|
||||
networks:
|
||||
hxki-internal:
|
||||
external: true
|
||||
|
||||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: hxki-prometheus
|
||||
restart: unless-stopped
|
||||
command:
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
- --storage.tsdb.path=/prometheus
|
||||
- --web.enable-lifecycle
|
||||
volumes:
|
||||
- /opt/hx-ki/monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
- /opt/hx-ki/monitoring/prometheus/rules:/etc/prometheus/rules:ro
|
||||
- /opt/hx-ki/monitoring/prometheus/data:/prometheus
|
||||
networks:
|
||||
- hxki-internal
|
||||
Reference in New Issue
Block a user