feat: Phase 0 FBA 部署包——docker-compose + nginx 反代 + env 模板(issue #159)

This commit is contained in:
2026-08-06 08:41:59 +08:00
parent 8b68d015c2
commit 70c680a612
5 changed files with 284 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# =============================================================================
# docker compose --env-file 使用的变量文件
# 作用域:仅 deploy/fba/docker-compose.yml 的变量插值
# =============================================================================
# FBA 源码所在目录(需包含其官方 Dockerfile)。
# 默认期望克隆到 iAOP 仓库同级目录,例如:
# /opt/apps/iAOP ← 本仓库
# /opt/apps/fba-backend ← git clone https://github.com/fastapi-practices/fastapi-best-architecture
FBA_SRC=../../../fba-backend
# fba_server 对外(回环)端口,nginx 反代目标
DOCKER_MAP_SERVER_PORT=8001
# FBA PostgreSQL 超级用户密码,必须与 fba.env 中 DATABASE_PASSWORD 一致
FBA_PG_PASSWORD=123456