services: caddy: image: florianzirker.de/caddy-netcup build: ./caddy networks: - web restart: unless-stopped ports: - "80:80" - "443:443" - "443:443/udp" volumes: - $PWD/caddy/Caddyfile:/etc/caddy/Caddyfile - ${STORAGE_PATH}/caddy/data:/data - ${STORAGE_PATH}/caddy/config:/config - ${WWW_PATH}:/usr/share/caddy:ro environment: - NETCUP_CUSTOMER_NUMBER=${NETCUP_CUSTOMER_NUMBER} - NETCUP_API_KEY=${NETCUP_API_KEY} - NETCUP_API_PASSWORD=${NETCUP_API_PASSWORD} - EMAIL=${LETSENCRYPT_MAIL} - DOMAIN=${DOMAIN} whoami: image: traefik/whoami networks: - web labels: - "docker.group=proxy" restart: unless-stopped networks: web: external: true dockersocket: external: true