Sign inSign up

truimo/hysteria

By truimo

•Updated 12 months ago

Hysteria is a powerful, lightning fast and censorship resistant proxy.

Buildkit cache
Image
Developer tools
0

1.8K

truimo/hysteria repository overview

logo

⁠Hysteria is a powerful, lightning fast and censorship resistant proxy.

⁠Get Started⁠

⁠Client Mode

docker-compose.yml

services:
    hysteria:
        container_name: hysteria
        image: truimo/hysteria:latest
        environment:
            TZ: Asia/Shanghai
        ports:
            - 1080:1080
            - 8080:8080
        command: ["client", "-c", "client.yaml"]
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - /etc/timezone:/etc/timezone:ro
            - ./client.yaml:/etc/hysteria/client.yaml:ro
        cap_add:
            - NET_ADMIN
            - SYS_MODULE
        restart: unless-stopped

client.yaml

server: your.domain.net:443 

auth: Se7RAuFZ8Lzg 

bandwidth: 
  up: 100 mbps
  down: 100 mbps

socks5:
  listen: 127.0.0.1:1080 

http:
  listen: 127.0.0.1:8080

⁠Server Mode

server.yaml

listen: :443 

acme:
  domains:
    - your.domain.net 
  email: [email protected] 

auth:
  type: password
  password: Se7RAuFZ8Lzg 

masquerade:
  type: proxy
  proxy:
    url: https://news.ycombinator.com/ 
    rewriteHost: true

Tag summary

Content type

Image

Digest

sha256:96b6c65d7…

Size

21.5 MB

Last updated

12 months ago

docker pull truimo/hysteria