feat: Portainer-compatible stack — no build step, bind-mount web service, LF-enforced shell scripts
This commit is contained in:
@@ -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;"
|
||||
Reference in New Issue
Block a user