hxki-sync @ 2026-04-04T01:13:35Z
This commit is contained in:
21
inventory/com1/config/docker-compose.monitoring.yml
Normal file
21
inventory/com1/config/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