services: hysteria: image: tobyxdd/hysteria:${HYSTERIA_VERSION:-latest} container_name: hysteria restart: always network_mode: host volumes: - ./config.yaml:/etc/hysteria/config.yaml:ro - ./certs:/certs:ro command: ["server", "-c", "/etc/hysteria/config.yaml"] logging: driver: json-file options: { max-size: "10m", max-file: "3" }