Commit2fdf080unknown_key
feat: add Railway and Fly.io deployment configs
feat: add Railway and Fly.io deployment configs Railway: Dockerfile build with auto-migration on release. Fly.io: London region, persistent volume for git repos, auto-migration, connection limits, HTTPS enforced, suspend-on-idle for cost savings. https://claude.ai/code/session_01M6EgoTaZ6HAZiVu77xp11g
2 files changed+43−02fdf080d5d3ed5db335c19f48833c4282a594573
2 changed files+43−0
Addedfly.toml+33−0View fileUnifiedSplit
@@ -0,0 +1,33 @@
1app = "gluecron"
2primary_region = "lhr"
3
4[build]
5 dockerfile = "Dockerfile"
6
7[env]
8 GIT_REPOS_PATH = "/app/repos"
9 PORT = "3000"
10 NODE_ENV = "production"
11
12[http_service]
13 internal_port = 3000
14 force_https = true
15 auto_stop_machines = "suspend"
16 auto_start_machines = true
17 min_machines_running = 1
18
19 [http_service.concurrency]
20 type = "connections"
21 hard_limit = 250
22 soft_limit = 200
23
24[deploy]
25 release_command = "bun run db:migrate"
26
27[[vm]]
28 size = "shared-cpu-1x"
29 memory = "512mb"
30
31[mounts]
32 source = "gluecron_repos"
33 destination = "/app/repos"