version: "3.9"
services:
hysteria:
image: dockerhub16/hysteria
container_name: hysteria
restart: always
network_mode: "host"
volumes:
- ./acme:/acme
- ./hysteria.yaml:/etc/hysteria.yaml
command: ["server", "-c", "/etc/hysteria.yaml"]
volumes:
acme:
# listen: :443
tls:
cert: your_cert.crt #docker部署 /acme/your_cert.crt(下同)
key: your_key.key
auth:
type: password
password: Se7RAuFZ8Lzg
masquerade:
type: proxy
proxy:
url: https://news.ycombinator.com/
rewriteHost: true
Content type
Image
Digest
sha256:74738ca59…
Size
11.5 MB
Last updated
about 2 years ago
docker pull dockerhub16/hysteria