From 810b9e39ff2b2ebf13f51a26c25529ddf6816a40 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sun, 7 Apr 2024 00:37:43 +0000 Subject: [PATCH] Workflow update --- lsio/duckdns/docker-compose.yaml | 2 +- lsio/duckdns/docker-run.sh | 2 +- lsio/obsidian/docker-compose.yaml | 31 +++++++++++++++++++++++++++++++ lsio/obsidian/docker-run.sh | 18 ++++++++++++++++++ lsio/obsidian/run-once.sh | 3 +++ lsio/remmina/docker-compose.yaml | 3 +-- lsio/remmina/docker-run.sh | 3 +-- 7 files changed, 56 insertions(+), 6 deletions(-) create mode 100644 lsio/obsidian/docker-compose.yaml create mode 100644 lsio/obsidian/docker-run.sh create mode 100644 lsio/obsidian/run-once.sh diff --git a/lsio/duckdns/docker-compose.yaml b/lsio/duckdns/docker-compose.yaml index a4a85e6..9cb1add 100644 --- a/lsio/duckdns/docker-compose.yaml +++ b/lsio/duckdns/docker-compose.yaml @@ -26,6 +26,6 @@ services: # Set to `true` to log to file (also need to map /config). - LOG_FILE=false # optional volumes: - # Persistent config files + # Persistent config files. Also set `LOG_FILE=true` to keep address history. - ${BASEDIR:-/volume1/docker}/duckdns/config:/config # optional restart: unless-stopped diff --git a/lsio/duckdns/docker-run.sh b/lsio/duckdns/docker-run.sh index c8ded8e..cc1066e 100644 --- a/lsio/duckdns/docker-run.sh +++ b/lsio/duckdns/docker-run.sh @@ -14,6 +14,6 @@ docker run -d \ -e TOKEN=token `# DuckDNS token` \ -e UPDATE_IP=ipv4 `# optional` `# Set to `ipv6` or `ipv4` to update **only** your public IPv4/6 address. Set to `both` to update IPv6 and IPv4 address. This variable makes use of a [third-party service](#notice-regarding-automatic-detection). Omitting this variable uses DuckDNS for detection and only supports IPv4. `both` and `ipv6` modes needs [host networking](#networking-net).` \ -e LOG_FILE=false `# optional` `# Set to `true` to log to file (also need to map /config).` \ - -v ${BASEDIR:-/volume1/docker}/duckdns/config:/config `# optional` `# Persistent config files` \ + -v ${BASEDIR:-/volume1/docker}/duckdns/config:/config `# optional` `# Persistent config files. Also set `LOG_FILE=true` to keep address history.` \ --restart unless-stopped \ ghcr.io/linuxserver/duckdns diff --git a/lsio/obsidian/docker-compose.yaml b/lsio/obsidian/docker-compose.yaml new file mode 100644 index 0000000..69f5e10 --- /dev/null +++ b/lsio/obsidian/docker-compose.yaml @@ -0,0 +1,31 @@ +# [Obsidian](https://obsidian.md) is a note-taking app that lets you create, +# link, and organize your notes on your device, with hundreds of plugins and +# themes to customize your workflow. You can also publish your notes online, +# access them offline, and sync them securely with end-to-end encryption. + +--- +version: "2.1" +services: + obsidian: + image: ghcr.io/linuxserver/obsidian + container_name: obsidian + 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: + # Users home directory in the container, stores program settings and files. + - ${BASEDIR:-/volume1/docker}/obsidian/config:/config + ports: + # Obsidian desktop gui. + - 3000:3000 + # Obsidian desktop gui HTTPS. + - 3001:3001 + devices: + # Add this for GL support (Linux hosts only) + - /dev/dri:/dev/dri # optional + shm_size: "1gb" + restart: unless-stopped diff --git a/lsio/obsidian/docker-run.sh b/lsio/obsidian/docker-run.sh new file mode 100644 index 0000000..dead8b5 --- /dev/null +++ b/lsio/obsidian/docker-run.sh @@ -0,0 +1,18 @@ +# [Obsidian](https://obsidian.md) is a note-taking app that lets you create, +# link, and organize your notes on your device, with hundreds of plugins and +# themes to customize your workflow. You can also publish your notes online, +# access them offline, and sync them securely with end-to-end encryption. + +. ./.env +docker run -d \ + --name=obsidian \ + -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 `# Obsidian desktop gui.` \ + -p 3001:3001 `# Obsidian desktop gui HTTPS.` \ + -v ${BASEDIR:-/volume1/docker}/obsidian/config:/config `# Users home directory in the container, stores program settings and files.` \ + --device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \ + --shm-size="1gb" \ + --restart unless-stopped \ + ghcr.io/linuxserver/obsidian diff --git a/lsio/obsidian/run-once.sh b/lsio/obsidian/run-once.sh new file mode 100644 index 0000000..3532937 --- /dev/null +++ b/lsio/obsidian/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/obsidian/config diff --git a/lsio/remmina/docker-compose.yaml b/lsio/remmina/docker-compose.yaml index ffc3e4c..a205b82 100644 --- a/lsio/remmina/docker-compose.yaml +++ b/lsio/remmina/docker-compose.yaml @@ -2,8 +2,7 @@ # aiming to be useful for system administrators and travellers, who need to work # with lots of remote computers in front of either large or tiny screens. # Remmina supports multiple network protocols, in an integrated and consistent -# user interface. Currently RDP, VNC, SPICE, NX, XDMCP, SSH and EXEC are -# supported. +# user interface. Currently RDP, VNC, SPICE, SSH and EXEC are supported. --- version: "2.1" diff --git a/lsio/remmina/docker-run.sh b/lsio/remmina/docker-run.sh index 6e914ce..754373f 100644 --- a/lsio/remmina/docker-run.sh +++ b/lsio/remmina/docker-run.sh @@ -2,8 +2,7 @@ # aiming to be useful for system administrators and travellers, who need to work # with lots of remote computers in front of either large or tiny screens. # Remmina supports multiple network protocols, in an integrated and consistent -# user interface. Currently RDP, VNC, SPICE, NX, XDMCP, SSH and EXEC are -# supported. +# user interface. Currently RDP, VNC, SPICE, SSH and EXEC are supported. . ./.env docker run -d \