From 307b55722b40f4be0b243f984e62f67f5a86caac Mon Sep 17 00:00:00 2001 From: javierlnmn Date: Fri, 21 Aug 2026 13:01:01 +0200 Subject: [PATCH 1/2] feat(wupnext): add new env vars for mcp server --- blueprints/wupnext/docker-compose.yml | 9 +++++++++ blueprints/wupnext/meta.json | 3 ++- blueprints/wupnext/template.toml | 7 ++++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/blueprints/wupnext/docker-compose.yml b/blueprints/wupnext/docker-compose.yml index 95bd27a2b..1e9cf9181 100644 --- a/blueprints/wupnext/docker-compose.yml +++ b/blueprints/wupnext/docker-compose.yml @@ -9,6 +9,10 @@ services: DEBUG: "False" ALLOWED_HOSTS: ${ALLOWED_HOSTS} CSRF_TRUSTED_ORIGINS: ${CSRF_TRUSTED_ORIGINS} + # Public base URL, used for links in emails + SITE_URL: ${SITE_URL} + # Public origin the MCP server advertises to clients during discovery + MCP_BASE_URL: ${MCP_BASE_URL} EMAIL_BACKEND: anymail.backends.resend.EmailBackend DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL} RESEND_API_KEY: ${RESEND_API_KEY} @@ -31,9 +35,14 @@ services: DEBUG: "False" ALLOWED_HOSTS: ${ALLOWED_HOSTS} CSRF_TRUSTED_ORIGINS: ${CSRF_TRUSTED_ORIGINS} + SITE_URL: ${SITE_URL} EMAIL_BACKEND: anymail.backends.resend.EmailBackend DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL} RESEND_API_KEY: ${RESEND_API_KEY} + # Django Q2 cluster (ORM broker, no Redis) + Q_WORKERS: ${Q_WORKERS} + Q_TIMEOUT: ${Q_TIMEOUT} + Q_RETRY: ${Q_RETRY} volumes: - wupnext-db:/app/db depends_on: diff --git a/blueprints/wupnext/meta.json b/blueprints/wupnext/meta.json index 7cd10c489..f22964425 100644 --- a/blueprints/wupnext/meta.json +++ b/blueprints/wupnext/meta.json @@ -2,7 +2,7 @@ "id": "wupnext", "name": "WupNext", "version": "latest", - "description": "WupNext is a self-hosted to-do and task queue app: groups, subtasks, deadlines, a built-in pomodoro timer, and daily email reminders. Server-rendered Django with HTMX, backed by SQLite.", + "description": "WupNext is a self-hosted to-do and task queue app: groups, subtasks, deadlines, a built-in pomodoro timer, email reminders, and an MCP server so an AI client can work the board. Server-rendered Django with HTMX, backed by SQLite.", "logo": "logo.svg", "links": { "github": "https://github.com/javierlnmn/wupnext", @@ -14,6 +14,7 @@ "tasks", "productivity", "pomodoro", + "mcp", "django", "self-hosted" ] diff --git a/blueprints/wupnext/template.toml b/blueprints/wupnext/template.toml index eb4f48034..e85598d23 100644 --- a/blueprints/wupnext/template.toml +++ b/blueprints/wupnext/template.toml @@ -12,11 +12,16 @@ env = [ "SECRET_KEY=${secret_key}", "ALLOWED_HOSTS=${main_domain}", "CSRF_TRUSTED_ORIGINS=https://${main_domain}", + "SITE_URL=https://${main_domain}", + "MCP_BASE_URL=https://${main_domain}", "DEFAULT_FROM_EMAIL=${from_email}", "RESEND_API_KEY=${resend_api_key}", "DJANGO_SUPERUSER_USERNAME=${admin_username}", "DJANGO_SUPERUSER_EMAIL=${admin_email}", - "DJANGO_SUPERUSER_PASSWORD=${admin_password}" + "DJANGO_SUPERUSER_PASSWORD=${admin_password}", + "Q_WORKERS=2", + "Q_TIMEOUT=60", + "Q_RETRY=120" ] mounts = [] From ab9d5f58456c1c8cb71cac709555e78ccb27a8e0 Mon Sep 17 00:00:00 2001 From: javierlnmn Date: Tue, 25 Aug 2026 09:06:57 +0200 Subject: [PATCH 2/2] fix: set explicit docker image version tag --- blueprints/wupnext/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/wupnext/docker-compose.yml b/blueprints/wupnext/docker-compose.yml index 1e9cf9181..5fb8d455c 100644 --- a/blueprints/wupnext/docker-compose.yml +++ b/blueprints/wupnext/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: wupnext: - image: docker.io/javierlnmn/wupnext:latest + image: docker.io/javierlnmn/wupnext:0.3.0 restart: unless-stopped environment: SECRET_KEY: ${SECRET_KEY}