docs: add LAN socks5 compose deployment

This commit is contained in:
2026-05-29 11:55:16 +08:00
parent 3c8d31b9e9
commit 13b66aeea6
6 changed files with 125 additions and 8 deletions
+12 -6
View File
@@ -1,9 +1,15 @@
version: '3'
services:
socks5:
restart: always
image: serjs/go-socks5-proxy
env_file: .env
image: serjs/go-socks5-proxy:latest
container_name: socks5-server
restart: unless-stopped
env_file:
- .env
ports:
- "1080:1080"
- "0.0.0.0:1080:1080"
healthcheck:
test: ["CMD", "/socks5", "--help"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s