diff --git a/lsio/kometa/docker-compose.yaml b/lsio/kometa/docker-compose.yaml new file mode 100644 index 0000000..88d99d7 --- /dev/null +++ b/lsio/kometa/docker-compose.yaml @@ -0,0 +1,32 @@ +# [Kometa](https://github.com/Kometa-Team/Kometa) is a powerful tool designed to +# give you complete control over your media libraries. With Kometa, you can take +# your customization to the next level, with granular control over metadata, +# collections, overlays, and much more. + +--- +version: "2.1" +services: + kometa: + image: ghcr.io/linuxserver/kometa + container_name: kometa + environment: + # for UserID + - PUID=${PUID:-1024} + # for GroupID + - PGID=${PGID:-100} + # specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). + - TZ=${TZ:-Europe/Amsterdam} + # Specify a custom config file to use. + - KOMETA_CONFIG=/config/config.yml # optional + # Comma-separated list of times to update each day. Format: `HH:MM`. + - KOMETA_TIME=03:00 # optional + # Set to `True` to run without the scheduler. + - KOMETA_RUN=False # optional + # Set to `True` to run in debug mode with only collections that have `test: true`. + - KOMETA_TEST=False # optional + # Set to `True` to run without any of the missing movie/show functions. + - KOMETA_NO_MISSING=False # optional + volumes: + # Persistent config files + - ${BASEDIR:-/volume1/docker}/kometa/config:/config + restart: unless-stopped diff --git a/lsio/kometa/docker-run.sh b/lsio/kometa/docker-run.sh new file mode 100644 index 0000000..e7eda70 --- /dev/null +++ b/lsio/kometa/docker-run.sh @@ -0,0 +1,19 @@ +# [Kometa](https://github.com/Kometa-Team/Kometa) is a powerful tool designed to +# give you complete control over your media libraries. With Kometa, you can take +# your customization to the next level, with granular control over metadata, +# collections, overlays, and much more. + +. ./.env +docker run -d \ + --name=kometa \ + -e PUID=${PUID:-1024} `# for UserID` \ + -e PGID=${PGID:-100} `# for GroupID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \ + -e KOMETA_CONFIG=/config/config.yml `# optional` `# Specify a custom config file to use.` \ + -e KOMETA_TIME=03:00 `# optional` `# Comma-separated list of times to update each day. Format: `HH:MM`.` \ + -e KOMETA_RUN=False `# optional` `# Set to `True` to run without the scheduler.` \ + -e KOMETA_TEST=False `# optional` `# Set to `True` to run in debug mode with only collections that have `test: true`.` \ + -e KOMETA_NO_MISSING=False `# optional` `# Set to `True` to run without any of the missing movie/show functions.` \ + -v ${BASEDIR:-/volume1/docker}/kometa/config:/config `# Persistent config files` \ + --restart unless-stopped \ + ghcr.io/linuxserver/kometa diff --git a/lsio/kometa/run-once.sh b/lsio/kometa/run-once.sh new file mode 100644 index 0000000..f7a8334 --- /dev/null +++ b/lsio/kometa/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/kometa/config