From ef7473517e5533aeeec7d993a9a4f5378b6dac39 Mon Sep 17 00:00:00 2001 From: Lancelot Date: Mon, 23 Dec 2024 18:17:06 +0100 Subject: [PATCH] Add dynamic compose for wekan (#6105) --- apps/wekan/config.json | 5 ++-- apps/wekan/docker-compose.json | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 apps/wekan/docker-compose.json diff --git a/apps/wekan/config.json b/apps/wekan/config.json index e293804303..8987aa31b1 100644 --- a/apps/wekan/config.json +++ b/apps/wekan/config.json @@ -4,8 +4,9 @@ "port": 8678, "available": true, "exposable": true, + "dynamic_config": true, "id": "wekan", - "tipi_version": 42, + "tipi_version": 43, "version": "7.72", "categories": ["development"], "description": "Experience efficient task management with WeKan - the Open-Source, customizable, and privacy-focused kanban", @@ -30,5 +31,5 @@ ], "supported_architectures": ["amd64"], "created_at": 1691943801422, - "updated_at": 1733634425000 + "updated_at": 1734908810846 } diff --git a/apps/wekan/docker-compose.json b/apps/wekan/docker-compose.json new file mode 100644 index 0000000000..f6f5c62431 --- /dev/null +++ b/apps/wekan/docker-compose.json @@ -0,0 +1,48 @@ +{ + "services": [ + { + "name": "wekan", + "image": "ghcr.io/wekan/wekan:v7.72", + "isMain": true, + "internalPort": 8080, + "environment": { + "MONGO_URL": "mongodb://wekan-db:27017/wekan", + "ROOT_URL": "https://${APP_DOMAIN}", + "MAIL_URL": "smtp://${MAIL_ADDRESS}:${MAIL_PASSWORD}@smtp.gmail.com:587", + "MAIL_FROM": "Wekan Notifications " + }, + "dependsOn": ["wekan-db"], + "volumes": [ + { + "hostPath": "/etc/localtime", + "containerPath": "/etc/localtime", + "readOnly": true + }, + { + "hostPath": "${APP_DATA_DIR}/data/wekan", + "containerPath": "/data" + } + ] + }, + { + "name": "wekan-db", + "image": "mongo:6", + "volumes": [ + { + "hostPath": "/etc/localtime", + "containerPath": "/etc/localtime", + "readOnly": true + }, + { + "hostPath": "${APP_DATA_DIR}/data/mongo", + "containerPath": "/data/db" + }, + { + "hostPath": "${APP_DATA_DIR}/data/dump", + "containerPath": "/dump" + } + ], + "command": "mongod --logpath /dev/null --oplogSize 128 --quiet" + } + ] +}