[PR #985] [MERGED] fix(kener): add required Redis service to fix REDIS_URL crash #15311

Closed
opened 2026-07-13 17:00:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/985
Author: @H3xKatana
Created: 7/8/2026
Status: Merged
Merged: 7/8/2026
Merged by: @Siumauricio

Base: mainHead: fix/kener-add-redis


📝 Commits (1)

  • c345475 fix: add required Redis service to Kener template

📊 Changes

3 files changed (+33 additions, -37 deletions)

View changed files

📝 blueprints/kener/docker-compose.yml (+23 -23)
📝 blueprints/kener/meta.json (+1 -1)
📝 blueprints/kener/template.toml (+9 -13)

📄 Description

Description

Fixes #976

Kener v4 requires Redis for BullMQ background queues (caching, scheduler). Without it, the application crashes on startup with:

Error: REDIS_URL is not defined in environment variables
    at redisIOConnection (file:///app/build/main.js:3323:13)

Changes

  • Added Redis 7 Alpine service with healthcheck as required upstream dependency
  • Pinned Kener image to 4.1.1 (was latest) for reproducible deployments
  • Added REDIS_URL env var pointing to redis://redis:6379
  • Removed unused postgres and mysql services — the default database is SQLite; these were unnecessary sidecars consuming resources
  • Removed stale env vars for the removed DB services (POSTGRES_USER, POSTGRES_PASSWORD, MYSQL_USER, MYSQL_PASSWORD, etc.)
  • Removed KENER_BASE_PATH (advanced setting, rarely needed)
  • Used expose instead of ports per Dokploy template conventions
  • Added depends_on with condition: service_healthy so Kener waits for Redis to be ready

Validation

  • generate-meta.js --check passes (476 templates validated)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/985 **Author:** [@H3xKatana](https://github.com/H3xKatana) **Created:** 7/8/2026 **Status:** ✅ Merged **Merged:** 7/8/2026 **Merged by:** [@Siumauricio](https://github.com/Siumauricio) **Base:** `main` ← **Head:** `fix/kener-add-redis` --- ### 📝 Commits (1) - [`c345475`](https://github.com/Dokploy/templates/commit/c345475d687d5a625a3b41b72e8524a8e694f3d0) fix: add required Redis service to Kener template ### 📊 Changes **3 files changed** (+33 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/kener/docker-compose.yml` (+23 -23) 📝 `blueprints/kener/meta.json` (+1 -1) 📝 `blueprints/kener/template.toml` (+9 -13) </details> ### 📄 Description ## Description Fixes #976 Kener v4 requires Redis for BullMQ background queues (caching, scheduler). Without it, the application crashes on startup with: ``` Error: REDIS_URL is not defined in environment variables at redisIOConnection (file:///app/build/main.js:3323:13) ``` ## Changes - **Added Redis 7 Alpine service** with healthcheck as required upstream dependency - **Pinned Kener image** to `4.1.1` (was `latest`) for reproducible deployments - **Added `REDIS_URL`** env var pointing to `redis://redis:6379` - **Removed unused `postgres` and `mysql` services** — the default database is SQLite; these were unnecessary sidecars consuming resources - **Removed stale env vars** for the removed DB services (`POSTGRES_USER`, `POSTGRES_PASSWORD`, `MYSQL_USER`, `MYSQL_PASSWORD`, etc.) - **Removed `KENER_BASE_PATH`** (advanced setting, rarely needed) - **Used `expose` instead of `ports`** per Dokploy template conventions - **Added `depends_on` with `condition: service_healthy`** so Kener waits for Redis to be ready ## Validation - `generate-meta.js --check` passes (476 templates validated) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-13 17:00:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#15311