Public Access
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.
5 lines
280 B
Bash
Executable File
5 lines
280 B
Bash
Executable File
#!/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}"
|