fix #1: docker run example

This commit is contained in:
Marc Brückner 2018-11-11 21:06:45 +01:00
parent 39c7664bd6
commit 55c8204f42

View File

@ -43,7 +43,7 @@ docker run --name extractor -d \
-v /opt/traefik:/app/data \
-v ./certs:/app/certs \
-v /var/run/docker.socket:/var/run/docker.sock \
snowmb/traefik-certificate-extractor
snowmb/traefik-certificate-extractor -r
```
Mount the whole folder containing the traefik certificate file (`acme.json`) as `/app/data`. The extracted certificates are going to be written to `/app/certs`.
The docker socket is used to find any containers with this label: `com.github.SnowMB.traefik-certificate-extractor.restart_domain=<DOMAIN>`.