feat: Portainer-compatible stack — no build step, bind-mount web service, LF-enforced shell scripts

This commit is contained in:
Lago
2026-04-17 18:41:41 +02:00
parent 73aa72b7ee
commit 5865f796ce
3 changed files with 31 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
cat > /usr/share/nginx/html/config.js <<EOF
window.MCCARS_CONFIG = {
SUPABASE_URL: "${SUPABASE_URL:-http://localhost:8000}",
SUPABASE_ANON_KEY: "${SUPABASE_ANON_KEY:-}"
};
EOF
exec nginx -g "daemon off;"