feat: add usage

This commit is contained in:
lab
2025-11-13 14:02:16 +08:00
parent 54320deb92
commit 56e1399556

View File

@@ -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
``` ```