feat: production branch with deploy config for baota panel
- Add deploy/ directory with production env, supervisor, nginx, migration configs - Include all latest features: admin management, feedback, footer with ICP/beian - Database: foreign_trade (PostgreSQL), user: foreign_trade - Frontend: trade.yuzhiran.com, backend proxy via Nginx
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[program:trademate-backend]
|
||||
command=/www/server/panel/pyenv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2 --proxy-headers --forwarded-allow-ips='*'
|
||||
directory=/www/wwwroot/trade.yuzhiran.com/backend
|
||||
user=www
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
stdout_logfile=/www/wwwlogs/trademate-backend.log
|
||||
stderr_logfile=/www/wwwlogs/trademate-backend.error.log
|
||||
stdout_logfile_maxbytes=50MB
|
||||
stderr_logfile_maxbytes=50MB
|
||||
environment=PATH="/www/server/panel/pyenv/bin:/usr/local/bin:/usr/bin:/bin",HOME="/home/www"
|
||||
Reference in New Issue
Block a user