From bc3b1aeb1fad00ca7bed8ccc6208b20e154a6495 Mon Sep 17 00:00:00 2001 From: Michel Date: Thu, 14 Sep 2023 20:34:23 +0200 Subject: [PATCH] New addition: Komga --- komga/.env.sample | 8 ++++++++ komga/compose.yml | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 komga/.env.sample create mode 100644 komga/compose.yml diff --git a/komga/.env.sample b/komga/.env.sample new file mode 100644 index 0000000..1d4d2c2 --- /dev/null +++ b/komga/.env.sample @@ -0,0 +1,8 @@ +# Uncomment and change the following variables if you want to use them. +#RESTART=unless-stopped +#SYNOLOGY_VOLUME=volume1 +#STACK_NAME=komga +#TZ=Europe/Amsterdam +#KOMGA_CONTAINER_NAME=Komga +#KOMGA_TAG=latest +#KOMGA_PORT=25600 diff --git a/komga/compose.yml b/komga/compose.yml new file mode 100644 index 0000000..f921695 --- /dev/null +++ b/komga/compose.yml @@ -0,0 +1,15 @@ +services: + # Komga + komga: + container_name: ${KOMGA_CONTAINER_NAME:-Komga} + image: gotson/komga:${KOMGA_TAG:-latest} + restart: ${RESTART:-unless-stopped} + healthcheck: + test: curl -f http://localhost:25600/ || exit 1 + environment: + TZ: ${TZ:-Europe/Amsterdam} + ports: + - ${KOMGA_PORT:-25600}:25600 + volumes: + - /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-komga}/${KOMGA_CONTAINER_NAME:-Komga}/config:/config + - /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-komga}/${KOMGA_CONTAINER_NAME:-Komga}/data:/data