mirror of
https://github.com/zgs225/secgate-vpn-docker.git
synced 2026-11-25 19:01:14 +08:00
refactor: 移除命令行版镜像(过不了二次认证)
CLI 端在开启二次认证的网关上没有输入入口,认证必被拒绝,镜像没有保留价值, 只留图形端。 - 删除 Dockerfile.cli、log-cli/、runtime-cli/、vendor/Ubuntu_SDWANClient_Setup.deb(.sha256) - docker-compose.yml: 去掉 secgate-cli service 与 cli profile - Makefile: 去掉 cli-fetch/cli-build/cli-up/cli-login/cli-quick/cli-info/cli-stop-login/cli-log, clean 不再引用 CLI 镜像;fetch 直接调用脚本(脚本已无参数) - scripts/fetch-client-deb.sh: 收敛为单一 GUI 目标,去掉 gui()/cli() 分支与 Ubuntu CDN - README/vendor/README/SECURITY: 同步删除 CLI 相关说明,「为什么用图形端」保留作背景
This commit is contained in:
1 parent
53ec3545c1
commit
150c33ea85
11 files changed
+38
-166
No files matched your search
@@ -45,30 +45,3 @@ services:
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "2"
|
||||
|
||||
# 命令行版(无图形界面,不能做二次认证)—— 需要时 docker compose --profile cli up -d
|
||||
secgate-cli:
|
||||
profiles: ["cli"]
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.cli
|
||||
image: local/secgate-cli:1.1.2.65051
|
||||
container_name: secgate-cli
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
ports:
|
||||
- "127.0.0.1:1081:1080"
|
||||
volumes:
|
||||
- ./runtime-cli:/opt/sslvpnclient/runtime
|
||||
- ./log-cli:/opt/sslvpnclient/log
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "2"
|
||||
Reference in new issue
Block a user