update prod env

This commit is contained in:
Kevin
2026-04-28 10:29:35 +08:00
parent 70048e78ca
commit 482b016872
2 changed files with 28 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
# Production stack for the current codebase: FastAPI + PostgreSQL.
# The API hard-fails on startup if the database is not reachable, so DB health is required.
#
# API 的 Dockerfile 必须使用带 DaoCloud 前缀的 Python 基础镜像m.daocloud.io/docker.io/library/python:...
# 不能使用「FROM python:...」,否则会直连 registry-1.docker.io 导致构建失败。
#
# Base images: DaoCloud「增加前缀」镜像README 推荐,减少 BuildKit 直连 registry-1.docker.io
# See https://github.com/DaoCloud/public-image-mirror
#