forked from scribble-rs/scribble.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
37 lines (30 loc) · 691 Bytes
/
Copy pathfly.toml
File metadata and controls
37 lines (30 loc) · 691 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
# See https://fly.io/docs/reference/configuration/
app = "scribblers"
# "fra" is only for paying customers
primary_region = "ams"
[metrics]
port = 8080
path = "/v1/metrics"
[build]
dockerfile = "fly.Dockerfile"
[deploy]
strategy = "immediate"
[env]
ROOT_URL = "https://scribblers.bios-marcel.link"
ALLOW_INDEXING = true
SERVE_DIRECTORIES = ":/public"
LOBBY_SETTING_BOUNDS_MAX_MAX_PLAYERS = 100
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
# Allows true scale to zero
min_machines_running = 0
processes = ["app"]
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
timeout = "5s"
method = "GET"
path = "/health"