From c8f1ddc2602d96ee90afe2b6dea35346d4ee420a Mon Sep 17 00:00:00 2001 From: Lancelot-Enguerrand Date: Sun, 22 Dec 2024 23:59:07 +0100 Subject: [PATCH] Add dynamic compose for kavita --- apps/kavita/config.json | 5 +++-- apps/kavita/docker-compose.json | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 apps/kavita/docker-compose.json diff --git a/apps/kavita/config.json b/apps/kavita/config.json index 5377b0c3b9..1f830d1285 100644 --- a/apps/kavita/config.json +++ b/apps/kavita/config.json @@ -4,8 +4,9 @@ "port": 8175, "available": true, "exposable": true, + "dynamic_config": true, "id": "kavita", - "tipi_version": 17, + "tipi_version": 18, "version": "0.8.4", "categories": ["media"], "description": "Kavita is a fast, feature rich, cross platform reading server", @@ -15,5 +16,5 @@ "form_fields": [], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1732321295000 + "updated_at": 1734908347559 } diff --git a/apps/kavita/docker-compose.json b/apps/kavita/docker-compose.json new file mode 100644 index 0000000000..0f591e6e5a --- /dev/null +++ b/apps/kavita/docker-compose.json @@ -0,0 +1,31 @@ +{ + "services": [ + { + "name": "kavita", + "image": "jvmilazz0/kavita:0.8.4", + "isMain": true, + "internalPort": 5000, + "environment": { + "TZ": "${TZ}" + }, + "volumes": [ + { + "hostPath": "${APP_DATA_DIR}/data/kavita-config", + "containerPath": "/kavita/config" + }, + { + "hostPath": "${ROOT_FOLDER_HOST}/media/data/books", + "containerPath": "/books" + }, + { + "hostPath": "${ROOT_FOLDER_HOST}/media/data/comics", + "containerPath": "/comics" + }, + { + "hostPath": "${ROOT_FOLDER_HOST}/media/data/manga", + "containerPath": "/manga" + } + ] + } + ] +}