Caddy + PHP-FPM is not accessible from host

Ah, that’s because you didn’t set the env vars necessary in your Dockerfile such that Caddy would write its data to /data.

See caddy-docker/2.7/alpine/Dockerfile at master · caddyserver/caddy-docker · GitHub