feat: add federation authority, provider, and relying party directories to Dockerfile; enhance entrypoint script for database normalization

This commit is contained in:
gabdevele
2026-06-17 21:26:31 +02:00 Unverified
parent 01b432afc6
commit c407b879ed
5 changed files with 204 additions and 8 deletions
+7
View File
@@ -17,6 +17,13 @@ def infer_base_url(kind: str) -> str:
for host in items:
if kind in host:
return f"https://{host}"
defaults = {
"fa": "http://federation-authority:8000",
"provider": "http://provider:8002",
"rp": "http://relying-party:8001",
}
if kind in defaults:
return defaults[kind]
raise SystemExit(f"missing env for {kind}: set explicit base URL or include hostname in allowed hosts")