feat: add usage
This commit is contained in:
20
README.md
20
README.md
@@ -23,4 +23,24 @@ certs_flat/
|
|||||||
sub.example.nl.crt
|
sub.example.nl.crt
|
||||||
sub.example.nl.key
|
sub.example.nl.key
|
||||||
sub.example.nl.chain.pem
|
sub.example.nl.chain.pem
|
||||||
|
```
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```shell
|
||||||
|
podman pull esinio/traefik-cert-exporter
|
||||||
|
podman run -itd \
|
||||||
|
--restart=always \
|
||||||
|
--name=traefik-cert-exporter \
|
||||||
|
-v /srv/container/traefik/acme/cert.json:/acme.json \
|
||||||
|
-v /etc/traefik/certs:/certs \
|
||||||
|
-v /run/podman/podman.sock:/var/run/docker.sock \
|
||||||
|
esinio/traefik-cert-exporter
|
||||||
|
```
|
||||||
|
|
||||||
|
# Add container label
|
||||||
|
```
|
||||||
|
"traefik.cert.domain=example.com
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user