From 49b38f5f7fe48dd1828c312bdf95b8cc05366289 Mon Sep 17 00:00:00 2001 From: Lancelot-Enguerrand Date: Sun, 22 Dec 2024 23:59:24 +0100 Subject: [PATCH] Add dynamic compose for komga --- apps/komga/config.json | 5 +++-- apps/komga/docker-compose.json | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 apps/komga/docker-compose.json diff --git a/apps/komga/config.json b/apps/komga/config.json index d2faa38852..f7782c9a10 100644 --- a/apps/komga/config.json +++ b/apps/komga/config.json @@ -4,8 +4,9 @@ "port": 2560, "available": true, "exposable": true, + "dynamic_config": true, "id": "komga", - "tipi_version": 12, + "tipi_version": 13, "version": "1.15.1", "categories": ["media"], "description": "A media server for your comics, mangas, BDs, magazines and eBooks.", @@ -16,5 +17,5 @@ "form_fields": [], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1734430832000 + "updated_at": 1734908364355 } diff --git a/apps/komga/docker-compose.json b/apps/komga/docker-compose.json new file mode 100644 index 0000000000..7aa3cc4131 --- /dev/null +++ b/apps/komga/docker-compose.json @@ -0,0 +1,23 @@ +{ + "services": [ + { + "name": "komga", + "image": "ghcr.io/gotson/komga:1.15.1", + "isMain": true, + "internalPort": 25600, + "environment": { + "TZ": "${TZ}" + }, + "volumes": [ + { + "hostPath": "${APP_DATA_DIR}/data/config", + "containerPath": "/config" + }, + { + "hostPath": "${APP_DATA_DIR}/data/data", + "containerPath": "/data" + } + ] + } + ] +}