Skip to content

Instantly share code, notes, and snippets.

View djdembeck's full-sized avatar

David Dembeck djdembeck

View GitHub Profile
@scyto
scyto / docker-swarm-architecture.md
Last active April 25, 2025 21:04
My Docker Swarm Architecture

This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...

Installation Step-by-Step

Each major task has its own gist, this is to help with maitainability long term.

  1. Install Debian VM for each docker host
  2. install Docker
  3. Configure Docker Swarm
  4. Install Portainer
  5. Install KeepaliveD
  6. Using VirtioFS backed by CephFS for bind mounts (migrating from glsuterFS - WIP)
@arhamqureshi
arhamqureshi / sonarr_radarr_clean_up.py
Last active March 6, 2025 16:43
Delete original files after Sonarr/Radarr has finished importing them
# The purpose of this script is to remove the original file after
# Sonarr/Radarr has completed importing the file. This script can be
# scheduled to run using crontab or configured in sonarr/radarr
# to run after every import. This is up to you.
# (https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts)
# Passing arguments has been disabled in Sonarr v3 which is why I have this
# made this script.
# In order for this script to work properly you will need to disable
@kekru
kekru / traefik-redirect-path.md
Last active November 22, 2024 05:09
Traefik redirect / (root) to sub path with Docker labels

Traefik: redirect base or root path to a subpath

This is tested with Traefik 1.7

This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals

  • https://example.com -> https://example.com/abc/xyz/
  • https://example.com/ -> https://example.com/abc/xyz/
  • https://example.com/something -> no redirect