Skip to content

Commit 3a91c49

Browse files
committed
chore(repo): optimize Fly.io app configurations for cost
1 parent b093948 commit 3a91c49

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/cms/fly.production.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ primary_region = 'arn'
77
[http_service]
88
internal_port = 3000
99
force_https = true
10-
auto_stop_machines = 'off'
10+
auto_stop_machines = 'suspend'
1111
auto_start_machines = true
1212
min_machines_running = 1
1313
processes = ['app']
@@ -20,5 +20,5 @@ primary_region = 'arn'
2020
timeout = '5s'
2121

2222
[[vm]]
23-
size = 'shared-cpu-2x'
24-
memory = '1gb'
23+
size = 'shared-cpu-1x'
24+
memory = '512mb'

apps/web/fly.production.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ primary_region = 'arn'
77
[http_service]
88
internal_port = 3001
99
force_https = true
10-
auto_stop_machines = 'off'
10+
auto_stop_machines = 'suspend'
1111
auto_start_machines = true
1212
min_machines_running = 1
1313
processes = ['app']

0 commit comments

Comments
 (0)