From 847607347ab9e1a3febb7af4a59088bb92313c9b Mon Sep 17 00:00:00 2001 From: technorabilia Date: Thu, 1 Feb 2024 01:20:56 +0000 Subject: [PATCH] Workflow update --- lsio/shotcut/docker-compose.yaml | 25 +++++++++++++++++++++++++ lsio/shotcut/docker-run.sh | 14 ++++++++++++++ lsio/shotcut/run-once.sh | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 lsio/shotcut/docker-compose.yaml create mode 100644 lsio/shotcut/docker-run.sh create mode 100644 lsio/shotcut/run-once.sh diff --git a/lsio/shotcut/docker-compose.yaml b/lsio/shotcut/docker-compose.yaml new file mode 100644 index 0000000..3ca4e8e --- /dev/null +++ b/lsio/shotcut/docker-compose.yaml @@ -0,0 +1,25 @@ +# [Shotcut](https://www.shotcut.org/) is a free, open source, cross-platform +# video editor. + +--- +version: "2.1" +services: + shotcut: + image: ghcr.io/linuxserver/shotcut + container_name: shotcut + 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} + volumes: + # Where Shotcut should store its config. + - ${BASEDIR:-/volume1/docker}/shotcut/config:/config + ports: + # Shotcut desktop gui. + - 3000:3000 + # Shotcut desktop gui HTTPS. + - 3001:3001 + restart: unless-stopped diff --git a/lsio/shotcut/docker-run.sh b/lsio/shotcut/docker-run.sh new file mode 100644 index 0000000..3d6a109 --- /dev/null +++ b/lsio/shotcut/docker-run.sh @@ -0,0 +1,14 @@ +# [Shotcut](https://www.shotcut.org/) is a free, open source, cross-platform +# video editor. + +. ./.env +docker run -d \ + --name=shotcut \ + -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).` \ + -p 3000:3000 `# Shotcut desktop gui.` \ + -p 3001:3001 `# Shotcut desktop gui HTTPS.` \ + -v ${BASEDIR:-/volume1/docker}/shotcut/config:/config `# Where Shotcut should store its config.` \ + --restart unless-stopped \ + ghcr.io/linuxserver/shotcut diff --git a/lsio/shotcut/run-once.sh b/lsio/shotcut/run-once.sh new file mode 100644 index 0000000..9fa6262 --- /dev/null +++ b/lsio/shotcut/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/shotcut/config