Skip to content

Commit

Permalink
update fly.toml config
Browse files Browse the repository at this point in the history
- add health checks
- downgrade memory vm to 512mb
  • Loading branch information
kresnasatya committed Sep 26, 2024
1 parent c053c18 commit 0d9f880
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ console_command = 'php /var/www/html/artisan tinker'
processes = ['app']

[[vm]]
memory = '1gb'
memory = '512mb'
cpu_kind = 'shared'
cpus = 1

[checks]
[checks.web_server_check]
grace_period = '30s'
interval = '15s'
method = 'get'
path = '/up'
port = '80'
timeout = '10s'
type = 'http'

0 comments on commit 0d9f880

Please sign in to comment.