arreglar localhost

This commit is contained in:
2026-01-17 22:24:56 -06:00
parent 64327ef5df
commit 153bdf2819
7 changed files with 43 additions and 13 deletions

12
manager/docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Generate config.js
cat <<EOF > /usr/share/nginx/html/config.js
window.APP_CONFIG = {
VITE_API_URL: "${VITE_API_URL}",
VITE_WS_URL: "${VITE_WS_URL}"
};
EOF
# Exec the passed command
exec "$@"