varnish add

This commit is contained in:
Mateusz Gruszczyński
2025-09-24 13:05:23 +02:00
parent 71a2b33a7a
commit d0df1cdee9
2 changed files with 61 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ git rev-parse --short HEAD > version.txt
log "Docker Compose DOWN (usuwanie kontenerów i osieroconych usług)"
docker compose -f "$COMPOSE_FILE" down --remove-orphans
# --- Generowanie default.vcl z szablonu ---
log "Generowanie default.vcl z APP_PORT=$APP_PORT"
envsubst < deploy/varnish/default.vcl.template > deploy/varnish/default.vcl
# --- Budowanie i uruchamianie bez restartu zależności ---
log "Docker Compose UP (build bez deps) dla: ${SERVICES[*]:-(wszystkie)}"
if [[ ${#SERVICES[@]} -gt 0 ]]; then