version: '3.7' services: caddy: container_name: caddy image: caddy:2.6.4-alpine restart: unless-stopped # command: caddy reverse-proxy --from https://my-domain.com:443 --to http://my-app:3000 ports: - 80:80 #http:// - 443:443 #https:// volumes: - ./Caddyfile:/etc/caddy/Caddyfile #This file will need to exist before you start this stack - ./data:/data - ./config:/config