Add Docker deployment and CI/CD configuration
Some checks failed
Deploy to Production / deploy (push) Has been cancelled
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>
This commit is contained in:
20
docker/supervisord.conf
Normal file
20
docker/supervisord.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user