Your volumes were fine, you need to override the command the container starts up with.
So, command: caddy run --config /etc/caddy/caddy.json
Your volumes were fine, you need to override the command the container starts up with.
So, command: caddy run --config /etc/caddy/caddy.json