-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
34 lines (28 loc) · 964 Bytes
/
Copy pathfly.toml
File metadata and controls
34 lines (28 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# fly.toml app configuration file generated for tanstarter on 2025-03-09T18:28:02-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'tanstarter'
primary_region = 'iad'
[build]
[env]
NODE_ENV = 'production'
PORT = '3000'
[deploy]
# Applies pending database migrations once per deploy, in a temporary Machine
# running the new image with the app's secrets, before any app Machine is
# updated. A non-zero exit aborts the deploy and the current release keeps
# serving. `bun run build` writes this bundle. Strategy stays rolling (the
# default): bluegreen needs a health check. See .agents/database.md.
release_command = "bun .output/migrate/migrate.mjs"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'suspend'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1