Skip to content

chore(deploy): add Fly.io containerization and automated deploy pipeline - #88

Merged
Goldokpa merged 1 commit into
mainfrom
feat/flyio-deployment
Jun 23, 2026
Merged

Goldokpa merged 1 commit into
mainfrom
feat/flyio-deployment

Conversation

@Goldokpa

Copy link
Copy Markdown
Member

Summary

Adds everything needed to deploy ClimateVision to Fly.io at climatevision.green.

Changes

  • Multi-stage Dockerfile (Node frontend build + Python API runtime)
  • docker-compose.yml for local production-like testing
  • .dockerignore to exclude secrets, caches, and local data
  • fly.toml for the climatevision-green app
  • scripts/setup_fly_secrets.sh to sync .env to Fly secrets
  • scripts/deploy.sh for manual deploys
  • Updated CI workflow with Docker build gate and a ci aggregator job
  • New deploy.yml workflow that deploys to Fly.io on every push to main

Post-merge steps

  1. Add FLY_API_TOKEN to GitHub repository secrets.
  2. Run fly apps create climatevision-green.
  3. Add GEE credentials via scripts/setup_fly_secrets.sh.
  4. Run fly certs create climatevision.green and configure DNS.
  5. Push to main to trigger the first automated deploy.

@Goldokpa
Goldokpa force-pushed the feat/flyio-deployment branch from 08e9c2f to 21cd5f4 Compare June 22, 2026 15:10
@Goldokpa Goldokpa changed the title feat(deploy): Fly.io containerization and CI/CD chore(deploy): add Fly.io containerization and automated deploy pipeline Jun 22, 2026
@Goldokpa
Goldokpa force-pushed the feat/flyio-deployment branch from 21cd5f4 to c055198 Compare June 22, 2026 15:15
@obielin
obielin requested a review from femi23 June 22, 2026 23:25
- Add multi-stage Dockerfile for API + static frontend
- Add docker-compose.yml for local production-like runs
- Add .dockerignore to exclude secrets, caches, and local data
- Add fly.toml for the climatevision-green app
- Add scripts/setup_fly_secrets.sh and scripts/deploy.sh
- Update CI workflow with Docker build gate and ci aggregator job
- Add GitHub Actions deploy workflow for Fly.io
- Production readiness fixes: CORS env config, startup script,
  setup.py metadata, frontend API base URL, security middleware,
  inference anomaly checks, and model health endpoint
@Goldokpa
Goldokpa force-pushed the feat/flyio-deployment branch from c055198 to 762a6f1 Compare June 23, 2026 11:46
@Goldokpa
Goldokpa merged commit 560b6ef into main Jun 23, 2026
4 checks passed
@Goldokpa
Goldokpa deleted the feat/flyio-deployment branch June 23, 2026 11:51
Goldokpa added a commit that referenced this pull request Jun 26, 2026
…ine (#88)

- Add multi-stage Dockerfile for API + static frontend
- Add docker-compose.yml for local production-like runs
- Add .dockerignore to exclude secrets, caches, and local data
- Add fly.toml for the climatevision-green app
- Add scripts/setup_fly_secrets.sh and scripts/deploy.sh
- Update CI workflow with Docker build gate and ci aggregator job
- Add GitHub Actions deploy workflow for Fly.io
- Production readiness fixes: CORS env config, startup script,
  setup.py metadata, frontend API base URL, security middleware,
  inference anomaly checks, and model health endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant