Skip to content

Commit

Permalink
fix: add swap and auto extend to fly config (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz authored Jul 26, 2024
1 parent 877b428 commit 269903c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

app = 'nwc'
primary_region = 'lax'
swap_size_mb = 2048

[build]
image = 'ghcr.io/getalby/hub:latest'
Expand All @@ -19,6 +20,9 @@ primary_region = 'lax'
source = 'nwc_data'
destination = '/data'
initial_size = '1'
auto_extend_size_threshold = 80
auto_extend_size_increment = "1GB"
auto_extend_size_limit = "5GB"

[http_service]
internal_port = 8080
Expand Down

0 comments on commit 269903c

Please sign in to comment.