services: proxy: image: git.realmanual.ru/pub/elevenlabs.io/elevenlabs:latest build: . container_name: api-proxy restart: unless-stopped ports: # Public HTTPS endpoint + ACME HTTP-01 challenge - "80:80" - "443:443" - "443:443/udp" # Legacy plain-HTTP endpoint (unchanged for existing clients) - "8082:8080" env_file: .env volumes: # Let's Encrypt certificates and ACME account keys — MUST persist, # otherwise every recreate re-issues certs and burns LE rate limits - caddy_data:/data - caddy_config:/config healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8080/health"] interval: 30s timeout: 5s retries: 3 logging: driver: "json-file" options: max-size: "50m" max-file: "5" volumes: caddy_data: caddy_config: