This commit is contained in:
hailin 2025-05-18 09:58:31 +08:00
parent 244144aef4
commit 8e6d6b6c45
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
# 直接启动已构建好的 Next.js app监听 0.0.0.0
exec node node_modules/next/dist/bin/next start -H 0.0.0.0

View File

@ -53,4 +53,9 @@ redirect_stderr=true
stdout_logfile=auto
[program:chatai-ui]
command=/bin/bash /supabase/chatai-ui/wrapper.sh
user=root
autorestart=true
stderr_logfile=/var/log/chatai-ui.err.log
stdout_logfile=/var/log/chatai-ui.out.log