kereis / traefik-certs-dumper

Dumps Let's Encrypt certificates of a specified domain which Traefik stores in acme.json.
Apache License 2.0
129 stars 24 forks source link

Hook issue #137

Closed foorschtbar closed 1 year ago

foorschtbar commented 1 year ago

Is there any known issue with the Post-hook script? I set it up like in the example, but it doesn't run. If i attach to the container and run it from the cli, it works fine.

volumes:
[...]
- ./data/output:/output:rw
- ./hook.sh:/hook/hook.sh:ro
environment:
- OVERRIDE_UID=1001
- OVERRIDE_GID=1001
- POST_HOOK_FILE_PATH=/hook/hook.sh

hook.sh (-rwxrwxr-x)

#!/bin/bash

touch /output/posthook.example

chmod 0644 /output/*.pem
kereis commented 1 year ago

On which version and arch of the images does this occur?

foorschtbar commented 1 year ago

Oh sorry. I use current version from the arm64v8 tag.

foorschtbar commented 1 year ago

See #139