version: '3.8' services: hysteria: image: tobyxdd/hysteria container_name: hysteria restart: always network_mode: "host" volumes: - ./hysteria.json:/etc/hysteria.json command: ["-config","/etc/hysteria.json","server"]