traefik-helper/README.md

18 lines
561 B
Markdown
Raw Normal View History

2024-01-13 19:36:56 +00:00
# traefik-helper
2024-01-13 19:51:28 +00:00
This is a helper container for traefik. It can add, remove and update services.
## Usage
DO NOT CHANGE: `/home/config.yml`
```bash
2024-01-13 19:55:54 +00:00
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/traefik/data/config.tml:/home/config.yml fascinated/traefik-helper:latest python src/manage.py
```
**Example Add**
```bash
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/traefik/data/config.tml:/home/config.yml fascinated/traefik-helper:latest python src/manage.py add test test.fascinated.cc http://10.0.0.10
2024-01-13 19:51:28 +00:00
```