-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
38 lines (31 loc) · 989 Bytes
/
Copy pathfly.toml
File metadata and controls
38 lines (31 loc) · 989 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
35
36
37
# fly.toml app configuration file generated for smashzone on 2026-07-07T14:13:52Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'smashzone'
primary_region = 'ams'
# Give the process time to notify rooms and flush the "restarting" notice
# before Fly hard-kills it on deploy / auto-stop.
kill_timeout = '5s'
# NOTE: rooms live in per-machine memory with no shared registry, so this app
# is correct only on a single machine. Keep max_machines effectively at 1
# (scale up would route friends to different machines → "room not found").
[build]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[http_service.checks]]
interval = '15s'
timeout = '2s'
grace_period = '10s'
method = 'GET'
path = '/api/health'
[[vm]]
cpu_kind = "shared"
cpus = 1
memory = "1gb"
memory_mb = 256