feat(deploy): add containerized deployment configuration and scripts
- Add Dockerfile for frontend and server services - Add Docker Compose configs (standard and offline mode) - Add nginx.conf for admin-web service - Add deploy scripts: package.sh (packaging) and load-and-start.sh (startup) - Add deploy/config.yaml, .env.example, and prompts.yml configurations - Add image management design specification doc
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# 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
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user