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 July 20, 2024 19:17
My Docker Swarm Architecture
@arhamqureshi
arhamqureshi / sonarr_radarr_clean_up.py
Last active December 8, 2022 14:45
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 July 14, 2024 00:37
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