File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
2+
3+ name : Fly Deploy
4+ on :
5+ push :
6+ branches :
7+ - main
8+ jobs :
9+ deploy :
10+ name : Deploy app
11+ runs-on : ubuntu-latest
12+ concurrency : deploy-group # optional: ensure only one action runs at a time
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : superfly/flyctl-actions/setup-flyctl@master
16+ - run : flyctl deploy --remote-only
17+ env :
18+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
Original file line number Diff line number Diff line change 1+ # fly.toml app configuration file generated for kotaemon on 2024-12-24T20:56:32+07:00
2+ #
3+ # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4+ #
5+
6+ app = ' kotaemon'
7+ primary_region = ' sin'
8+
9+ [build ]
10+
11+ [mounts ]
12+ destination = " /app/ktem_app_data"
13+ source = " ktem_volume"
14+
15+ [http_service ]
16+ internal_port = 8080
17+ force_https = true
18+ auto_stop_machines = ' suspend'
19+ auto_start_machines = true
20+ min_machines_running = 0
21+ processes = [' app' ]
22+
23+ [[vm ]]
24+ memory = ' 4gb'
25+ cpu_kind = ' shared'
26+ cpus = 4
You can’t perform that action at this time.
0 commit comments