From 37a4ce526fcc099584b8e4536ca2acda82baaf1c Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sat, 22 Jul 2023 00:58:52 +0000 Subject: [PATCH] Workflow update --- lsio/flexget/docker-compose.yaml | 29 +++++++++++++++++++++++++++++ lsio/flexget/docker-run.sh | 16 ++++++++++++++++ lsio/flexget/run-once.sh | 4 ++++ 3 files changed, 49 insertions(+) create mode 100644 lsio/flexget/docker-compose.yaml create mode 100644 lsio/flexget/docker-run.sh create mode 100644 lsio/flexget/run-once.sh diff --git a/lsio/flexget/docker-compose.yaml b/lsio/flexget/docker-compose.yaml new file mode 100644 index 0000000..6e87119 --- /dev/null +++ b/lsio/flexget/docker-compose.yaml @@ -0,0 +1,29 @@ +# [Flexget](http://flexget.com/) is a multipurpose automation tool for all of +# your media. + +--- +version: "2.1" +services: + flexget: + image: ghcr.io/linuxserver/flexget + container_name: flexget + 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} + # Set the FlexGet logging level. + - FG_LOG_LEVEL=info + # Set the FlexGet webui password. Pay attention to Bash/YAML reserved characters. + - FG_WEBUI_PASSWORD=info # optional + volumes: + # Local path for FlexGet config files. + - ${BASEDIR:-/volume1/docker}/flexget/config:/config + # Default path for downloads. + - ${BASEDIR:-/volume1/docker}/flexget/data:/data # optional + ports: + # HTTP port for the WebUI. + - 5050:5050 + restart: unless-stopped diff --git a/lsio/flexget/docker-run.sh b/lsio/flexget/docker-run.sh new file mode 100644 index 0000000..7379e6e --- /dev/null +++ b/lsio/flexget/docker-run.sh @@ -0,0 +1,16 @@ +# [Flexget](http://flexget.com/) is a multipurpose automation tool for all of +# your media. + +. ./.env +docker run -d \ + --name=flexget \ + -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 FG_LOG_LEVEL=info `# Set the FlexGet logging level.` \ + -e FG_WEBUI_PASSWORD=info `# optional` `# Set the FlexGet webui password. Pay attention to Bash/YAML reserved characters.` \ + -p 5050:5050 `# HTTP port for the WebUI.` \ + -v ${BASEDIR:-/volume1/docker}/flexget/config:/config `# Local path for FlexGet config files.` \ + -v ${BASEDIR:-/volume1/docker}/flexget/data:/data `# optional` `# Default path for downloads.` \ + --restart unless-stopped \ + ghcr.io/linuxserver/flexget diff --git a/lsio/flexget/run-once.sh b/lsio/flexget/run-once.sh new file mode 100644 index 0000000..60c96aa --- /dev/null +++ b/lsio/flexget/run-once.sh @@ -0,0 +1,4 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/flexget/config +mkdir -p ${BASEDIR:-/volume1/docker}/flexget/data `#optional`