fix: 远程PG用TCP+密码连接, deploy_remote.sh用su postgres+socket
This commit is contained in:
@@ -56,7 +56,7 @@ ssh -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} "
|
||||
fi
|
||||
# 启动新进程
|
||||
cd ${REMOTE_DEMO}
|
||||
DB_HOST=127.0.0.1 DB_PORT=5432 DB_USER=postgres DB_NAME=wxchat_sales \
|
||||
DB_HOST=127.0.0.1 DB_PORT=5432 DB_USER=postgres DB_PASSWORD=Why_701208 DB_NAME=wxchat_sales \
|
||||
nohup /usr/bin/python3 -m uvicorn web.server:app --host 127.0.0.1 --port 8770 \
|
||||
> ${REMOTE_DEMO}/web.log 2>&1 &
|
||||
sleep 2
|
||||
|
||||
Reference in New Issue
Block a user