version: '3.8' services: certbot: image: certbot/dns-cloudflare:latest container_name: certbot restart: unless-stopped volumes: - certbot_etc:/etc/letsencrypt - certbot_var:/var/lib/letsencrypt - ./cloudflare.ini:/etc/cloudflare.ini command: > certonly --dns-cloudflare --dns-cloudflare-credentials /etc/cloudflare.ini --email tutucloud1@outlook.com --agree-tos --no-eff-email -d *.tutusub.xyz hysteria: image: ghcr.io/cedar2025/hysteria@sha256:18a5010b3b2b128d85dd4d5ca4262c3823baff8b0fe96429c29171900573ba5a container_name: hysteria restart: unless-stopped network_mode: "host" volumes: - certbot_etc:/etc/letsencrypt - ./server.yaml:/etc/hysteria/server.yaml volumes: certbot_etc: certbot_var: