7f08d92958
Adds a new browser-fetch microservice that wraps Lightpanda for rendering JS-heavy pages, and wires it into the knowledge URL parser as a fallback when the upstream link reader returns 403/429/5xx for an allow-listed domain (e.g. zhuanlan.zhihu.com). Includes config/env plumbing, hot-reload diff support, and full deploy assets (Dockerfile target, docker-compose, k3s manifests, image-build/package scripts).
82 lines
1.7 KiB
YAML
82 lines
1.7 KiB
YAML
# docker-compose.offline.yaml
|
|
# 离线部署覆盖文件 — 与 docker-compose.yaml 合并使用
|
|
#
|
|
# 作用:
|
|
# 1. 所有服务使用本地镜像前缀(geo-rankly/xxx),不走注册中心
|
|
# 2. pull_policy: never — 禁止 Docker 尝试拉取镜像
|
|
# 3. 去除 build 配置(离线环境不需要构建)
|
|
|
|
services:
|
|
|
|
migrate:
|
|
image: geo-rankly/migrate:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
tenant-api:
|
|
image: geo-rankly/tenant-api:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
browser-fetch:
|
|
image: geo-rankly/browser-fetch:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
worker-generate:
|
|
image: geo-rankly/worker-generate:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
kol-assist-worker:
|
|
image: geo-rankly/kol-assist-worker:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
scheduler:
|
|
image: geo-rankly/scheduler:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
ops-api:
|
|
image: geo-rankly/ops-api:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
frontend:
|
|
image: geo-rankly/frontend:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
ops-web:
|
|
image: geo-rankly/ops-web:${IMAGE_TAG:-latest}
|
|
pull_policy: never
|
|
build: !reset null
|
|
|
|
postgres:
|
|
pull_policy: never
|
|
|
|
monitoring-postgres:
|
|
pull_policy: never
|
|
|
|
pgbouncer:
|
|
pull_policy: never
|
|
|
|
monitoring-pgbouncer:
|
|
pull_policy: never
|
|
|
|
rabbitmq:
|
|
pull_policy: never
|
|
|
|
redis:
|
|
pull_policy: never
|
|
|
|
qdrant:
|
|
pull_policy: never
|
|
|
|
minio:
|
|
pull_policy: never
|
|
|
|
minio-init:
|
|
pull_policy: never
|