Public Access
feat(docker): fail at start when AUTH_HOST or API_HOST is unset
An empty host gives a CSP connect-src that blocks every API call. The new entrypoint check stops the container early with a clear error.
This commit is contained in:
1 parent
25ade98989
commit
720764bf68
3 files changed
+7
-3
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Empty hosts would give a CSP connect-src that blocks every API call. Runs before 20-envsubst-on-templates.sh.
|
||||
: "${AUTH_HOST:?set AUTH_HOST (public host name of Auth) in the container env}"
|
||||
: "${API_HOST:?set API_HOST (public host name of Core) in the container env}"
|
||||
Reference in new issue
Block a user