mirror of
https://github.com/SnowMB/traefik-certificate-extractor.git
synced 2025-01-18 22:09:33 +08:00
fix #1: docker run example
This commit is contained in:
parent
39c7664bd6
commit
55c8204f42
@ -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>`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user