7
All checks were successful
Publish Docker Image / docker (push) Successful in 39s

This commit is contained in:
Lee 2024-01-13 19:55:54 +00:00
parent 9f871cc50c
commit 660e40dd20
2 changed files with 8 additions and 2 deletions

@ -14,6 +14,6 @@ RUN python -m pip install -r requirements.txt
WORKDIR /app WORKDIR /app
COPY . /app COPY . /app
ENV CONFIG_FILE_PATH=/app/config.yml ENV CONFIG_FILE=/app/config.yml
CMD ["python", "src/manage.py"] CMD ["python", "src/manage.py"]

@ -7,5 +7,11 @@ This is a helper container for traefik. It can add, remove and update services.
DO NOT CHANGE: `/home/config.yml` DO NOT CHANGE: `/home/config.yml`
```bash ```bash
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/traefik/data/config.tml:/home/config.yml fascinateed/traefik-helper:latest 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
``` ```