How to use Docker secrets with Caddy

By the way, you don’t need to parse the secrets file and load them into env vars. You can use the placeholder {file./path/to/secret} directly.

4 Likes