This is a helper container for traefik. It can add, remove and update services. https://s.fascinated.cc/s/traefik-helper
Go to file
Liam 5d85b16d77
Some checks failed
Publish Docker Image / docker (push) Has been cancelled
use light blue, it's bright asf on windows
2024-01-13 21:11:22 +00:00
.gitea/workflows update readme 2024-01-13 20:07:08 +00:00
.vscode 7 2024-01-13 19:51:28 +00:00
src use light blue, it's bright asf on windows 2024-01-13 21:11:22 +00:00
.dockerignore 7 2024-01-13 19:51:28 +00:00
.gitignore 7 2024-01-13 19:51:28 +00:00
Dockerfile is this even needed? 2024-01-13 20:15:31 +00:00
README.md add notice 2024-01-13 20:41:55 +00:00
requirements.txt 7 2024-01-13 19:51:28 +00:00

traefik-helper

This is a helper container for traefik. It can add, remove and update services.

NOTICE

PLEASE PLEASE PLEASE MAKE SURE YOU HAVE A BACKUP OF YOUR CONFIG FILE BEFORE USING THIS CONTAINER. I AM NOT RESPONSIBLE FOR ANY DATA LOSS.

Usage

Add command alias

alias traefik-helper='docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/traefik/data/config.yml:/app/config.yml -e CONTAINER_NAME=traefik fascinated/traefik-helper:latest python src/manage.py'

Add service

traefik-helper add [name] [domain] [service url]

Remove service

traefik-helper remove [name]

List services

traefik-helper list