From 579f0229ac77362300f60346934e0d8480cee80a Mon Sep 17 00:00:00 2001 From: technorabilia Date: Wed, 9 Mar 2022 00:42:36 +0000 Subject: [PATCH] Workflow update --- lsio/kdenlive/docker-compose.yaml | 32 +++++++++++++++++++++++++++++++ lsio/kdenlive/docker-run.sh | 18 +++++++++++++++++ lsio/kdenlive/run-once.sh | 3 +++ 3 files changed, 53 insertions(+) create mode 100644 lsio/kdenlive/docker-compose.yaml create mode 100644 lsio/kdenlive/docker-run.sh create mode 100644 lsio/kdenlive/run-once.sh diff --git a/lsio/kdenlive/docker-compose.yaml b/lsio/kdenlive/docker-compose.yaml new file mode 100644 index 0000000..9da9441 --- /dev/null +++ b/lsio/kdenlive/docker-compose.yaml @@ -0,0 +1,32 @@ +# [Kdenlive](https://kdenlive.org/) is a powerful free and open source cross- +# platform video editing program made by the KDE community. Feature rich and +# production ready. + +--- +version: "2.1" +services: + kdenlive: + image: ghcr.io/linuxserver/kdenlive + container_name: kdenlive + environment: + # for GroupID + - PUID=${PUID:-1024} + # for UserID + - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} + # Specify a subfolder to use with reverse proxies, IE `/subfolder/` + - SUBFOLDER=/ # optional + # See the keyboard layouts section for more information and options. + - KEYBOARD=en-us-qwerty # optional + volumes: + # Users home directory in the container, stores local files and settings + - ${BASEDIR:-/volume1/docker}/kdenlive/config:/config + ports: + # Kdenlive desktop gui + - 3000:3000 + devices: + # Add this for hardware acceleration (Linux hosts only) + - /dev/dri:/dev/dri # optional + shm_size: "1gb" # optional + restart: unless-stopped diff --git a/lsio/kdenlive/docker-run.sh b/lsio/kdenlive/docker-run.sh new file mode 100644 index 0000000..1654a9e --- /dev/null +++ b/lsio/kdenlive/docker-run.sh @@ -0,0 +1,18 @@ +# [Kdenlive](https://kdenlive.org/) is a powerful free and open source cross- +# platform video editing program made by the KDE community. Feature rich and +# production ready. + +source ./.env +docker run -d \ + --name=kdenlive \ + -e PUID=${PUID:-1024} `# for GroupID` \ + -e PGID=${PGID:-100} `# for UserID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ + -e SUBFOLDER=/ `# optional` `# Specify a subfolder to use with reverse proxies, IE `/subfolder/`` \ + -e KEYBOARD=en-us-qwerty `# optional` `# See the keyboard layouts section for more information and options.` \ + -p 3000:3000 `# Kdenlive desktop gui` \ + -v ${BASEDIR:-/volume1/docker}/kdenlive/config:/config `# Users home directory in the container, stores local files and settings` \ + --device /dev/dri:/dev/dri `# optional` `# Add this for hardware acceleration (Linux hosts only)` \ + --shm-size="1gb" `# optional` \ + --restart unless-stopped \ + ghcr.io/linuxserver/kdenlive diff --git a/lsio/kdenlive/run-once.sh b/lsio/kdenlive/run-once.sh new file mode 100644 index 0000000..7ac11e7 --- /dev/null +++ b/lsio/kdenlive/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/kdenlive/config