WP-0011: deploy scaffolding for revenue.coulomb.social
Record T01 package (in-repo k8s/railiance, combined /ui + API app, dedicated CNPG). Add Dockerfile, healthz, migration/bootstrap scripts, kustomize manifests, ArgoCD Application (in railiance-platform), and docs/deployment.md. T05 left open for operator DNS/OpenBao/image push.
This commit is contained in:
parent
3064c0fe0c
commit
9e4e84f9ee
26 changed files with 691 additions and 142 deletions
15
scripts/docker-entrypoint.sh
Executable file
15
scripts/docker-entrypoint.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
# Container entrypoint (WP-0011): combined Trust Service + Control Plane.
|
||||
set -e
|
||||
# Optional: run migrations when TRF_RUN_MIGRATIONS=1 (used by migrate Job).
|
||||
if [ "${TRF_RUN_MIGRATIONS:-0}" = "1" ]; then
|
||||
exec python /usr/local/bin/apply_migrations.py
|
||||
fi
|
||||
if [ "${TRF_BOOTSTRAP_BINKY:-0}" = "1" ]; then
|
||||
exec python /usr/local/bin/bootstrap_binky.py
|
||||
fi
|
||||
exec python -m uvicorn target_revenue.service.combined:app \
|
||||
--host 0.0.0.0 \
|
||||
--port 8000 \
|
||||
--proxy-headers \
|
||||
--forwarded-allow-ips='*'
|
||||
Loading…
Add table
Add a link
Reference in a new issue