version: "3.7" services: caddy: image: caddy restart: unless-stopped environment: - USER_UID=1000 - USER_GID=1000 ports: - "80:80" - "443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./site:/srv - caddy_data:/data - caddy_config:/config volumes: caddy_data: caddy_config: