This directory contains deployment scripts, configurations, and monitoring setups for various platforms.
deployment/
βββ configs/ # Platform-specific configuration files
β βββ alibaba-cloud.conf
β βββ azure-app-service.conf
β βββ gxq-studio.service (systemd)
βββ scripts/ # Deployment automation scripts
β βββ deploy-aapanel.sh
β βββ deploy-azure.sh
β βββ deploy-coolify.sh
β βββ deploy-vps.sh
βββ prometheus/ # Prometheus monitoring configuration
β βββ prometheus.yml
βββ grafana/ # Grafana dashboards and datasources
βββ dashboards/
βββ datasources/
All scripts are executable and include detailed instructions:
- deploy-vps.sh: Automated VPS deployment (Ubuntu/Debian/CentOS)
- deploy-azure.sh: Azure App Service deployment via Azure CLI
- deploy-coolify.sh: Coolify deployment guide
- deploy-aapanel.sh: aaPanel deployment instructions
# Make scripts executable
chmod +x deployment/scripts/*.sh
# Run VPS deployment
sudo ./deployment/scripts/deploy-vps.sh
# Run Azure deployment
./deployment/scripts/deploy-azure.sh- alibaba-cloud.conf: Guidance for Alibaba Cloud deployments
- azure-app-service.conf: Azure App Service configuration
- gxq-studio.service: Systemd service file for Linux servers
Prometheus and Grafana configurations for monitoring backend services.
Enable with:
docker-compose --profile monitoring up -dAccess:
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3002 (admin/admin)
See DEPLOYMENT.md for comprehensive deployment guides:
- β Vercel (Serverless)
- β Railway (Container)
- β AWS (Amplify, App Runner, ECS)
- β Azure (App Service, Container Instances)
- β Alibaba Cloud (ECS, ACK, Function Compute)
- β Coolify (Self-hosted)
- β aaPanel (Control panel)
- β VPS (Manual/PM2/Docker)
- β Localhost (Dev/Prod)
- Never commit
.envfiles or secrets to version control - Review and update security settings in configs before deployment
- Use environment variables for all sensitive configuration
- Enable firewalls and restrict access to necessary ports only
- Keep all systems and dependencies updated
For issues or questions:
- GitHub Issues: https://github.com/SMSDAO/TradeOS/issues
- Documentation: See DEPLOYMENT.md
- Security: See SECURITY.md