mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-06-23 04:10:19 +00:00
fix(dawarich): try and expose metrics but it failed
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
||||
- no-new-privileges:true
|
||||
ports:
|
||||
- 5000:5000
|
||||
- 9394:9394 # Prometheus exporter, uncomment if needed
|
||||
- 9394:9394
|
||||
stdin_open: true
|
||||
tty: true
|
||||
entrypoint: web-entrypoint.sh
|
||||
@@ -32,9 +32,11 @@ services:
|
||||
- TIME_ZONE=Africa/Nairobi
|
||||
- DISTANCE_UNIT=km
|
||||
- APPLICATION_PROTOCOL=http
|
||||
- PROMETHEUS_EXPORTER_ENABLED=false
|
||||
- PROMETHEUS_EXPORTER_ENABLED=true
|
||||
- PROMETHEUS_EXPORTER_HOST=0.0.0.0
|
||||
- PROMETHEUS_EXPORTER_PORT=9394
|
||||
- METRICS_USERNAME=${DAWARICH_METRICS_USERNAME}
|
||||
- METRICS_PASSWORD=${DAWARICH_METRICS_PASSWORD}
|
||||
- SECRET_KEY_BASE=${DAWARICH_SECRET_KEY_BASE}
|
||||
- RAILS_LOG_TO_STDOUT="true"
|
||||
- SELF_HOSTED=true
|
||||
@@ -95,9 +97,11 @@ services:
|
||||
- APPLICATION_HOSTS=${DAWARICH_APPLICATION_HOSTS}
|
||||
- BACKGROUND_PROCESSING_CONCURRENCY=10
|
||||
- APPLICATION_PROTOCOL=http
|
||||
- PROMETHEUS_EXPORTER_ENABLED=false
|
||||
- PROMETHEUS_EXPORTER_HOST=dawarich-app
|
||||
- PROMETHEUS_EXPORTER_ENABLED=true
|
||||
- PROMETHEUS_EXPORTER_HOST=dawarich-sidekiq
|
||||
- PROMETHEUS_EXPORTER_PORT=9394
|
||||
- METRICS_USERNAME=${DAWARICH_METRICS_USERNAME}
|
||||
- METRICS_PASSWORD=${DAWARICH_METRICS_PASSWORD}
|
||||
- SECRET_KEY_BASE=${DAWARICH_SECRET_KEY_BASE}
|
||||
- RAILS_LOG_TO_STDOUT="true"
|
||||
- SELF_HOSTED=true
|
||||
|
||||
@@ -104,6 +104,8 @@ KARAKEEP_MEILI_MASTER_KEY=""
|
||||
## DAWARICH
|
||||
DAWARICH_APPLICATION_HOSTS="localhost,::1,127.0.0.1"
|
||||
DAWARICH_SECRET_KEY_BASE=""
|
||||
DAWARICH_METRICS_USERNAME=""
|
||||
DAWARICH_METRICS_PASSWORD=""
|
||||
|
||||
### DAWARICH POSTGRES
|
||||
DAWARICH_POSTGRES_USER=""
|
||||
|
||||
@@ -21,3 +21,4 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets:
|
||||
- dawarich-app:9394
|
||||
- dawarich-sidekiq:9394
|
||||
|
||||
Reference in New Issue
Block a user