从官方的 snell-server 5.0.0 版本构建的。
services:
# 可选服务,可以不部署
shadow-tls:
image: ghcr.io/ihciah/shadow-tls:v0.2.25
container_name: shadow-tls
network_mode: host
environment:
- MODE=server
- LISTEN=0.0.0.0:56715 # shadow-tls 监听的地址
- SERVER=0.0.0.0:52311 # 指向 snell-server 服务
- TLS=toutiao.com:443;coding.net:443;mp.weixin.qq.com:443;cdn.bootcdn.net:443;feishu.cn:443
- PASSWORD="xxxxxxxxxxxx"
# off/authed/all
- WILDCARD_SNI=authed
- V3=true # 使用 V3 版本
# 默认使用 io_uring,如果出现 CPU 占用过高,可以换成 epoll
# - MONOIO_FORCE_LEGACY_DRIVER=1
restart: unless-stopped
snell-server:
image: mayeee/snell-server:5.0.0
container_name: snell-server
network_mode: host
environment:
- LISTEN=0.0.0.0 # 默认值
- PORT=52311 # 默认值
- PSK="xxxxxxx" # 不配置会自动生成
restart: unless-stopped
Content type
Image
Digest
sha256:a013ee514…
Size
29.9 MB
Last updated
about 1 year ago
docker pull mayeee/snell-server:5.0.0