services:
snell:
image: htnanako/snell-v4-server
container_name: snell
network_mode: host # 必须使用host
environment: # 两个环境变量不写则随机端口随机密码
- SNELL_PORT=12345 # 设置监听端口
- SNELL_PSK=xxxxxxxx # 设置密码
- SNELL_V6=true # 是否开启ipv6,不配置此参数默认不开启
volumes:
- ./:/etc/snell
restart: always
Content type
Image
Digest
sha256:b73a21514…
Size
36.2 MB
Last updated
about 2 years ago
docker pull htnanako/snell-v4-server