mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 12:32:54 +02:00
「🏗️」 wip: prom added :D
This commit is contained in:
29
docker/monitoring/prometheus/compose.yml
Normal file
29
docker/monitoring/prometheus/compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
services:
|
||||
prometheus:
|
||||
container_name: transcendence-prom
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
args:
|
||||
PROM_ADMIN_PASSWD: ${PROM_PASS}
|
||||
PROM_ADMIN_PASSWD_HASH: ${PROM_HASH}
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
ports:
|
||||
- 9090:9090
|
||||
volumes:
|
||||
- prometheus_data:/prometheus
|
||||
depends_on:
|
||||
front:
|
||||
condition: service_started
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
- '--web.config.file=/etc/prometheus/web-config.yml'
|
||||
- '--web.external-url=/prometheus/'
|
||||
- '--web.console.libraries=/etc/prometheus/console_libraries'
|
||||
- '--web.console.templates=/etc/prometheus/consoles'
|
||||
- '--web.enable-lifecycle'
|
||||
networks:
|
||||
- prom
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user