Add Docker deployment and CI/CD configuration
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:
你的用户名
2025-11-04 17:12:41 +08:00
parent 3e311d4d26
commit 4c2d2e3678
7 changed files with 490 additions and 0 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
kt-financial:
build:
context: .
dockerfile: Dockerfile
container_name: kt-financial-system
restart: unless-stopped
ports:
- "8080:80"
environment:
- NODE_ENV=production
- TZ=Asia/Shanghai
volumes:
- ./logs:/var/log
networks:
- kt-network
networks:
kt-network:
driver: bridge