All checks were successful
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 8m31s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 7m20s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 2m1s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m39s
11 lines
320 B
Bash
11 lines
320 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Ersetze ${API_BASE_URL} und ${KEYCLOAK_URL} in index.html zur Container-Startzeit.
|
|
# Caddy bekommt eine fertige, statische HTML-Datei — kein Template-Parsing mehr nötig.
|
|
envsubst '${API_BASE_URL} ${KEYCLOAK_URL}' \
|
|
< /usr/share/caddy/index.html.tmpl \
|
|
> /usr/share/caddy/index.html
|
|
|
|
exec "$@"
|