diff --git a/Dockerfile b/Dockerfile index 1f45ede..fa9e166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/README.md b/README.md index fcf249b..34e8fe5 100644 --- a/README.md +++ b/README.md @@ -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 ```