From 33dc90a7469852a9c291ced5ca55d55099865f70 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sun, 18 Apr 2021 00:56:28 +0000 Subject: [PATCH] Workflow update --- lsio/audacity/docker-compose.yaml | 23 +++++++++++++++++++++ lsio/audacity/docker-run.sh | 13 ++++++++++++ lsio/audacity/run-once.sh | 3 +++ lsio/endlessh/docker-compose.yaml | 33 +++++++++++++++++++++++++++++++ lsio/endlessh/docker-run.sh | 19 ++++++++++++++++++ lsio/endlessh/run-once.sh | 3 +++ 6 files changed, 94 insertions(+) create mode 100644 lsio/audacity/docker-compose.yaml create mode 100644 lsio/audacity/docker-run.sh create mode 100644 lsio/audacity/run-once.sh create mode 100644 lsio/endlessh/docker-compose.yaml create mode 100644 lsio/endlessh/docker-run.sh create mode 100644 lsio/endlessh/run-once.sh diff --git a/lsio/audacity/docker-compose.yaml b/lsio/audacity/docker-compose.yaml new file mode 100644 index 0000000..633819f --- /dev/null +++ b/lsio/audacity/docker-compose.yaml @@ -0,0 +1,23 @@ +# [Audacity]({{ project_url }}) is an easy-to-use, multi-track audio editor and +# recorder. Developed by a group of volunteers as open source. + +--- +version: "2.1" +services: + audacity: + image: ghcr.io/linuxserver/audacity + container_name: audacity + environment: + # for GroupID + - PUID=${PUID:-1024} + # for UserID + - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} + volumes: + # Users home directory in the container, stores program settings and images + - ${BASEDIR:-/volume1/docker}/audacity/config:/config + ports: + # Audacity desktop gui. + - 3000:3000 + restart: unless-stopped diff --git a/lsio/audacity/docker-run.sh b/lsio/audacity/docker-run.sh new file mode 100644 index 0000000..5f186bf --- /dev/null +++ b/lsio/audacity/docker-run.sh @@ -0,0 +1,13 @@ +# [Audacity]({{ project_url }}) is an easy-to-use, multi-track audio editor and +# recorder. Developed by a group of volunteers as open source. + +source ./.env +docker run -d \ + --name=audacity \ + -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` \ + -p 3000:3000 `# Audacity desktop gui.` \ + -v ${BASEDIR:-/volume1/docker}/audacity/config:/config `# Users home directory in the container, stores program settings and images` \ + --restart unless-stopped \ + ghcr.io/linuxserver/audacity diff --git a/lsio/audacity/run-once.sh b/lsio/audacity/run-once.sh new file mode 100644 index 0000000..e5e2581 --- /dev/null +++ b/lsio/audacity/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/audacity/config diff --git a/lsio/endlessh/docker-compose.yaml b/lsio/endlessh/docker-compose.yaml new file mode 100644 index 0000000..099dd5c --- /dev/null +++ b/lsio/endlessh/docker-compose.yaml @@ -0,0 +1,33 @@ +# Endlessh Endlessh is an SSH tarpit that very slowly sends an endless, random +# SSH banner. It keeps SSH clients locked up for hours or even days at a time. +# The purpose is to put your real SSH server on another port and then let the +# script kiddies get stuck in this tarpit instead of bothering a real server. + +--- +version: "2.1" +services: + endlessh: + image: ghcr.io/linuxserver/endlessh + container_name: endlessh + environment: + # for GroupID + - PUID=${PUID:-1024} + # for UserID + - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} + # The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines. + - MSDELAY=10000 # optional + # The length of each line is randomized. This controls the maximum length of each line. Shorter lines may keep clients on for longer if they give up after a certain number of bytes. + - MAXLINES=32 # optional + # Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue. + - MAXCLIENTS=4096 # optional + # By default, the app logs to container log. If this is set to `true`, the log will be output to file under `/config.logs/endlessh` (`/config` needs to be mapped). + - LOGFILE=false # optional + volumes: + # Required if `LOGFILE` is set to `true`. + - ${BASEDIR:-/volume1/docker}/endlessh/config:/config # optional + ports: + # ssh port + - 22:2222 + restart: unless-stopped diff --git a/lsio/endlessh/docker-run.sh b/lsio/endlessh/docker-run.sh new file mode 100644 index 0000000..81cabb1 --- /dev/null +++ b/lsio/endlessh/docker-run.sh @@ -0,0 +1,19 @@ +# Endlessh Endlessh is an SSH tarpit that very slowly sends an endless, random +# SSH banner. It keeps SSH clients locked up for hours or even days at a time. +# The purpose is to put your real SSH server on another port and then let the +# script kiddies get stuck in this tarpit instead of bothering a real server. + +source ./.env +docker run -d \ + --name=endlessh \ + -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 MSDELAY=10000 `# optional` `# The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines.` \ + -e MAXLINES=32 `# optional` `# The length of each line is randomized. This controls the maximum length of each line. Shorter lines may keep clients on for longer if they give up after a certain number of bytes.` \ + -e MAXCLIENTS=4096 `# optional` `# Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue.` \ + -e LOGFILE=false `# optional` `# By default, the app logs to container log. If this is set to `true`, the log will be output to file under `/config.logs/endlessh` (`/config` needs to be mapped).` \ + -p 22:2222 `# ssh port` \ + -v ${BASEDIR:-/volume1/docker}/endlessh/config:/config `# optional` `# Required if `LOGFILE` is set to `true`.` \ + --restart unless-stopped \ + ghcr.io/linuxserver/endlessh diff --git a/lsio/endlessh/run-once.sh b/lsio/endlessh/run-once.sh new file mode 100644 index 0000000..fcb6a0a --- /dev/null +++ b/lsio/endlessh/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/endlessh/config `#optional`