From 4a8451d6b04041b77b2dbe74efe8e4db1598f911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Fri, 1 Dec 2023 20:57:03 +0100 Subject: [PATCH] komga: add --- .env | 1 + docker-compose.yml | 2 ++ services/komga.yml | 16 ++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 services/komga.yml diff --git a/.env b/.env index 4e41d43..7318255 100644 --- a/.env +++ b/.env @@ -3,6 +3,7 @@ DOMAIN=kucharczyk.xyz TZ=Europe/Prague STORAGE_PATH=/srv/mergerfs/storage MEDIA_PATH=${STORAGE_PATH}/media +COMIC_PATH=${MEDIA_PATH}/comics ANIME_PATH=${STORAGE_PATH}/media/anime TV_PATH=${STORAGE_PATH}/media/tv MOVIE_PATH=${STORAGE_PATH}/media/movies diff --git a/docker-compose.yml b/docker-compose.yml index 86442a4..128b0a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,11 @@ --- version: '3.3' +# todo: remove profiles from this file and from the dce/dc alias include: - services/bazarr.yml - services/jellyfin.yml + - services/komga.yml services: diff --git a/services/komga.yml b/services/komga.yml new file mode 100644 index 0000000..241e2cc --- /dev/null +++ b/services/komga.yml @@ -0,0 +1,16 @@ +--- +services: + komga: + image: gotson/komga:latest + container_name: komga + ports: + - "6080:25600" + networks: + - public + volumes: + - "${DOCKER_STORAGE_PATH}/komga:/config" + - "${COMIC_PATH}:/data" + - "${TORRENTS_SEED_PATH}:/import" + profiles: + - base + restart: unless-stopped