This commit is contained in:
parent
9f871cc50c
commit
660e40dd20
@ -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"]
|
||||
|
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user