Files
geo/deploy/docker-compose.offline.yaml
T
root f3679e6176 feat(deploy): add k3s deployment foundation and complete offline images
Introduce a self-contained kustomize stack under deploy/k3s covering
namespace, config, placeholder secrets, infra StatefulSets, app
Deployments/Services, migration and minio-init Jobs, and Traefik
Ingress for both tenant and ops hosts. Add Dockerfile.ops-web so the
operations frontend can ship as an nginx image, and extend the offline
package script to build and bundle ops-api, kol-assist-worker, and
ops-web alongside the k3s manifests. Wire the new ops/security knobs
through .env.example and the compose stack.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 23:19:41 +08:00

61 lines
1.2 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
worker-generate:
image: geo-rankly/worker-generate:${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
postgres:
pull_policy: never
monitoring-postgres:
pull_policy: never
rabbitmq:
pull_policy: never
redis:
pull_policy: never
qdrant:
pull_policy: never
minio:
pull_policy: never
minio-init:
pull_policy: never