- Stop and remove existing containers before starting new ones
- Use force-recreate flag to ensure new images are used
- Fixes issue where containers weren't being updated with latest code
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Add INTERACTIVE flag to properly detect when command-line args are used
- Fix deployment script to skip menu when flags are provided
- Allow non-interactive deployment with --force, --skip-health-check, --no-cache
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Update deployment script header to document this VM as single production environment
- Clarify there are no separate staging/development environments
- All deployments go directly to production on this VM
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Ensure script always uses token from files instead of inherited
environment variable which may contain stale values.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Update to match Dockerfile changes and bypass Docker BuildKit
secret caching issues.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Update from gitea_npm_token to gitea_npm_token_v2 to match
Dockerfile changes and bypass BuildKit secret cache.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
deploy-invttrdg.sh passes git-derived build args to backend and web Dockerfiles
via a build_image() helper. These surface in the new /api/devops/info endpoint
and the DevOps tab in Settings.
Auto-resolves GITEA_NPM_TOKEN from /opt/bytelyst/.gitea_token if unset, and
switches to direct docker build (--secret) instead of docker compose build
(which doesn't support --secret).
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- deploy-invttrdg.sh: Single-repo deployment for trading platform
* Dirty checks (uncommitted changes, unpushed commits)
* Pre-deployment smoke tests (backend contracts, web DOM tests)
* Docker build and deployment (backend + web)
* Post-deployment validation (health checks, endpoint verification)
* Comprehensive smoke testing for production-grade deployment
- deploy-all.sh: Multi-repo deployment orchestration
* Deploy all 4 production repos or specific ones
* Same safety checks and deployment process for each repo
* Health checks for all services
- DEPLOYMENT_GUIDE.md: Complete deployment documentation
* Usage instructions for both scripts
* Service endpoint mappings
* Troubleshooting guide
* Docker management commands
These scripts enable safe, tested production deployments with
comprehensive validation at every stage.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>