14 lines
386 B
YAML
14 lines
386 B
YAML
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" }
|