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

View File

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

View File

@ -7,5 +7,11 @@ This is a helper container for traefik. It can add, remove and update services.
DO NOT CHANGE: `/home/config.yml`
```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
```