diff --git a/blueprints/kener/docker-compose.yml b/blueprints/kener/docker-compose.yml index 90dde8e2..f1978c1c 100644 --- a/blueprints/kener/docker-compose.yml +++ b/blueprints/kener/docker-compose.yml @@ -1,35 +1,37 @@ services: + redis: + image: redis:7-alpine + restart: unless-stopped + volumes: + - redis_data:/data + healthcheck: + test: ["CMD", "redis-cli", "ping"] + interval: 10s + timeout: 5s + retries: 5 + expose: + - 6379 + kener: - image: rajnandan1/kener:latest + image: rajnandan1/kener:4.1.1 environment: - TZ=${TZ} - KENER_SECRET_KEY=${KENER_SECRET_KEY} # 🔐 API key / secret - ORIGIN=${ORIGIN} - REDIS_URL=${REDIS_URL} - DATABASE_URL=${DATABASE_URL} - - KENER_BASE_PATH=${KENER_BASE_PATH} - RESEND_API_KEY=${RESEND_API_KEY} # 🔐 API key - RESEND_SENDER_EMAIL=${RESEND_SENDER_EMAIL} - ports: + expose: - 3000 volumes: - - kener_db:/app/database + - data:/app/database + - ../files/uploads:/app/uploads depends_on: redis: condition: service_healthy restart: unless-stopped - redis: - image: redis:7-alpine - volumes: - - kener_redis:/data - healthcheck: - test: ["CMD", "redis-cli", "ping"] - interval: 10s - timeout: 5s - retries: 5 - restart: unless-stopped - volumes: - kener_db: {} - kener_redis: {} + data: + redis_data: diff --git a/blueprints/kener/meta.json b/blueprints/kener/meta.json index bc656bcc..d1e566b9 100644 --- a/blueprints/kener/meta.json +++ b/blueprints/kener/meta.json @@ -1,7 +1,7 @@ { "id": "kener", "name": "Kener", - "version": "latest", + "version": "4.1.1", "description": "Kener is an open-source status page system for monitoring and alerting. It provides a modern interface for tracking service uptime and sending notifications.", "logo": "image.png", "links": { diff --git a/blueprints/kener/template.toml b/blueprints/kener/template.toml index fba7cde4..bfe09e59 100644 --- a/blueprints/kener/template.toml +++ b/blueprints/kener/template.toml @@ -11,9 +11,23 @@ host = "${main_domain}" [config.env] TZ = "Etc/UTC" KENER_SECRET_KEY = "${KENER_SECRET_KEY}" # 🔐 API key / secret -ORIGIN = "https://${main_domain}" +ORIGIN = "http://localhost:3000" REDIS_URL = "redis://redis:6379" DATABASE_URL = "sqlite://./database/kener.sqlite.db" -KENER_BASE_PATH = "" RESEND_API_KEY = "" -RESEND_SENDER_EMAIL = "Accounts " +RESEND_SENDER_EMAIL = "" + +[[config.mounts]] +type = "volume" +source = "data" +target = "/app/database" + +[[config.mounts]] +type = "volume" +source = "redis_data" +target = "/data" + +[[config.mounts]] +type = "bind" +source = "../files/uploads" +target = "/app/uploads"