Pull MinIO from the Gitea-mirrored pgsty image after upstream Hub/Quay removal.
CI / changes (push) Successful in 47s
CI / frontend (push) Skipped
CI / backend (push) Successful in 43m10s

This commit is contained in:
2026-09-30 23:09:01 +08:00
parent 01e1724d6a
commit 1c1065938f
27 changed files with 3533 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
# Kit template — host-owned at /opt/<repo-slug>/.env (chmod 600).
# CD never uploads this file — only the IMAGE_TAG line is patched each release.
# Never commit a filled .env.
#
# PG_* must be Npgsql key=value form, not a URI. No wrapping quotes.
# Every segment must be Key=Value. A common mistake that breaks readiness:
# Username=app;mysecret!;SSL Mode=Disable ← missing Password=
# Correct:
# Username=app;Password=mysecret!;SSL Mode=Disable
# ---- image coordinates ----
REGISTRY=git.vectur45.com/<owner>/<repo-slug>
IMAGE_TAG=latest
# ---- exposed ports on the production host ----
API_PORT=8100
UI_PORT=8101
# ---- PostgreSQL (shared-services network; Host=postgres is Docker DNS) ----
PG_CONNECTION=Host=postgres;Port=5432;Database=myapp;Username=myapp;Password=CHANGE_ME;SSL Mode=Disable
# DDL-only for the CD migrate job (Gitea secret PG_CONNECTION_DDL). Never inject into the API container.
# PG_CONNECTION_DDL=Host=postgres;Port=5432;Database=myapp;Username=myapp_migrator;Password=CHANGE_ME;SSL Mode=Disable
# ---- application secrets (openssl rand -base64 48) ----
API_KEY=CHANGE_ME_AT_LEAST_32_BYTES