docs: add LAN socks5 compose deployment
This commit is contained in:
+12
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user