version: "3.7" services: caddy: image: caddy:2.4.6 restart: unless-stopped ports: - "80:80" - "443:443" volumes: # - $PWD/Caddyfile:/etc/caddy/Caddyfile - $PWD/site:/srv - caddy_data:/data - caddy_config:/config volumes: caddy_data: caddy_config: