ci: workflow Forgejo Actions para publicar imagen en registry + compose por env var N8N_WEBHOOK_URL
Some checks failed
build-and-push-image / build (push) Has been cancelled
Some checks failed
build-and-push-image / build (push) Has been cancelled
This commit is contained in:
parent
4193336775
commit
f0f6db06c9
5 changed files with 67 additions and 15 deletions
10
docker-entrypoint.sh
Normal file
10
docker-entrypoint.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
cat > /usr/share/nginx/html/config.js <<EOF
|
||||
window.APP_CONFIG = {
|
||||
N8N_WEBHOOK_URL: "${N8N_WEBHOOK_URL:-https://your-n8n-host/webhook/chat}"
|
||||
};
|
||||
EOF
|
||||
|
||||
exec nginx -g 'daemon off;'
|
||||
Loading…
Add table
Add a link
Reference in a new issue