-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
36 lines (31 loc) · 805 Bytes
/
fly.toml
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
# fly.toml app configuration file generated for splashcat-image-render on 2023-06-14T03:40:58-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "splashcat-image-render"
primary_region = "iad"
swap_size_mb = 1024
[env]
PORT = "3000"
[processes]
app = "run -A ./main.ts"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[http_service.concurrency]
type = "requests"
hard_limit = 10
soft_limit = 3
[checks]
[checks.image-render-check]
grace_period = "30s"
interval = "15s"
method = "get"
path = "/image-render/battle/2/render.png?test=1"
port = 3000
timeout = "10s"
type = "http"