fix: expose socks port range in docker compose
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
airtosocks:
|
airtosocks:
|
||||||
build: .
|
build: .
|
||||||
@@ -7,13 +5,18 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
- "10000-10999:10000-10999"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/app/config
|
- ./config:/app/config
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
- ./bin:/app/bin
|
- ./bin:/app/bin
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
# 可选:修改端口和检查间隔
|
# Web 管理界面默认端口
|
||||||
|
# http://127.0.0.1:8080
|
||||||
|
# SOCKS5 端口池默认映射
|
||||||
|
# 10000-10999
|
||||||
|
# 可选:修改 Web 端口和检查间隔
|
||||||
# command: python main.py
|
# command: python main.py
|
||||||
# 在 config.yaml 中配置:
|
# 在 config.yaml 中配置:
|
||||||
# port: 8080
|
# port: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user