Enabling Prometheus exporter for Dawarich app and Sidekiq.
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / Check and Create PR (push) Successful in 1m1s
Renovate Image Tag Deployment / Renovate PR Deployment (pull_request) Has been skipped
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / PR Merge (push) Successful in 31s
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / Generate list of added/modified/deleted services (push) Successful in 1m0s
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / Docker Compose Dry Run (push) Successful in 6m24s
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / Cloudflare DNS Setup (push) Successful in 28s
Gitea Branch PR, Cloudflare DNS, README generation, & Docker Deployment / Docker Compose Deployment (push) Successful in 7m5s

This commit is contained in:
2025-10-07 18:11:14 -04:00
parent 29fe97b58d
commit 1a14312f02
+7 -4
View File
@@ -1280,7 +1280,7 @@ services:
- ${DOCKER_VOLUME_STORAGE}/backups/:/backups
- /var/run/docker.sock:/var/run/docker.sock
dawarich-app:
command: ["bin/rails", "server", "-p", "3000", "-b", "::"]
command: bin/dev
container_name: dawarich-app
depends_on:
dawarich-pg-db:
@@ -1308,11 +1308,13 @@ services:
APPLICATION_PROTOCOL: http
DISTANCE_UNIT: km
SECRET_KEY_BASE: ${DAWARICH_SECRET_KEY_BASE}
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_ENABLED: true
PROMETHEUS_EXPORTER_HOST: 0.0.0.0
PROMETHEUS_EXPORTER_PORT: 9394
ENABLE_TELEMETRY: false # More on telemetry: https://dawarich.app/docs/tutorials/telemetry
SELF_HOSTED: true
expose:
- 9394
healthcheck:
test:
[
@@ -1343,7 +1345,6 @@ services:
swag.uptime-kuma.monitor.maxretries: 5
ports:
- 63561:3000
- 9394:9394 # Prometheus exporter, uncomment if needed
profiles: ["rinoa-apps"]
restart: on-failure
stdin_open: true
@@ -1400,7 +1401,7 @@ services:
DATABASE_USERNAME: dawarich
DISTANCE_UNIT: km
ENABLE_TELEMETRY: false # More on telemetry: https://dawarich.app/docs/tutorials/telemetry
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_ENABLED: true
PROMETHEUS_EXPORTER_HOST: dawarich-app
PROMETHEUS_EXPORTER_PORT: 9394
RAILS_ENV: production
@@ -1409,6 +1410,8 @@ services:
SECRET_KEY_BASE: ${DAWARICH_SECRET_KEY_BASE}
SELF_HOSTED: true
STORE_GEODATA: true
expose:
- 9394
healthcheck:
test: ["CMD-SHELL", "pgrep -f sidekiq"]
interval: 10s