adminandClaude Code f3df8b93a5 fix(deploy): build 时修正精简版 Dockerfile / nginx.conf 残留
**影响**:build 阶段 (`bash deploy/build.sh --no-push`) 报 Dockerfile COPY 错误,
镜像未生成。修正后镜像 `ipass-sso-v0.6.0` 本地构建成功,nginx -t 通过、
容器启动正常、`/admin/` 与 `/.well-known/openid-configuration` 双 200。

**改动**:
- `deploy/Dockerfile`:
  - 删 `COPY deploy/custom/ ...`(精简版无 deploy/custom/ 目录)
  - 删 `COPY deploy/legacy/ ...`(精简版无 deploy/legacy/ 目录)
  - `EXPOSE 18098 18099` → `EXPOSE 18098`(精简版没 LLM 数据面,18099 用不到)
- `deploy/nginx.conf`:
  - 删 `location /static/custom/ {...}`(精简版无 static-custom/)
  - 删 `location /legacy/ {...}`(精简版不集成老管理台)

**设计**:上一步 commit 漏了 Dockerfile / nginx.conf 与文件系统的同步:
rsync 自 ipass-all 时连带 rsync 来了 deploy/custom/ 与 deploy/legacy/,
后续又手动 rm 掉了这两个目录,但 Dockerfile 里的 COPY 与 nginx.conf
里的 alias location 没同步清。

Co-Authored-By: Claude Code <[email protected]>
2026-09-30 12:05:19 +08:00

ipass-all

iPass 全插件一体网关:内核 + 6 插件(身份 sso / 域名 domain / LLM 代理 llm / API 代理 apix / 制品缓存 cache / WAF waf)编译期装配成单个 nginx 动态模块, 一个容器跑完。单进程、零外部依赖。

端口

端口 承载
18098 管理台 /admin/ · OIDC(/.well-known/openid-configuration)· /api/* · apix(/apix/、/apixp/)· 制品缓存 8 路由(/go/ /cargo/ /pypi/ /npm/ /maven/ /v2/…)· 域名转发(Host: *.ipass.local)
18099 LLM 数据面 <base_url>/<slot>/...(sk_ Key 鉴权,出站换上游真 Key)

快速开始

bash deploy/build.sh                        # 收集前端 + docker build + push 阿里云 CR
kubectl apply -f deploy/k8s/ipass-all.yaml  # wuguirong 租户 ns(NodePort 30083/30084)
curl -fs http://192.168.1.26:30083/.well-known/openid-configuration

首次登录 admin / 123456(立即改密)。各插件能力与配置见管理台对应页。

装配清单与顺序

SsoPlugin → CorePlugin → DomainPlugin → LlmPlugin → ApixPlugin → CachePlugin → WafPlugin → trend

顺序即端点认领顺序:sso 排第一接管身份端点;trend 组合端点由装配根自己提供。

文档

S
Description
SSO 统一认证服务 —— nginx 动态模块 + Rust(自包含 OAuth2/OIDC IdP + IAP 身份注入)
Readme
5.5 MiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 59.9%
Shell 15.4%
Rust 14.3%
Dockerfile 6%
Python 4.4%