Some checks failed
Deploy to Production / deploy (push) Has been cancelled
- Add Dockerfile for multi-stage build - Add docker-compose.yml for easy deployment - Add Gitea Actions CI/CD workflow - Add deployment script (deploy.sh) - Add nginx and supervisord configuration - Add deployment documentation Deployment target: 192.168.9.149:8080 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g 'daemon off;'
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/var/log/nginx/stdout.log
|
|
stderr_logfile=/var/log/nginx/stderr.log
|
|
|
|
[program:backend]
|
|
command=node /app/backend/dist/main.js
|
|
directory=/app/backend
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/var/log/backend/stdout.log
|
|
stderr_logfile=/var/log/backend/stderr.log
|
|
environment=NODE_ENV="production",PORT="3000"
|