-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
35 lines (28 loc) · 668 Bytes
/
Copy pathfly.toml
File metadata and controls
35 lines (28 loc) · 668 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
# fly.toml
app = "coding-winner-bot"
primary_region = "nrt"
[build]
dockerfile = "Dockerfile"
[env]
ATCODER_API_BASE_URL = "https://kenkoooo.com/atcoder"
ENVIRONMENT = "production"
[[services]]
internal_port = 8080
protocol = "tcp"
[[services.ports]]
port = 80
handlers = ["http"]
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
# Health check (optional - bot doesn't serve HTTP but keeps it for Fly.io compatibility)
[[services.http_checks]]
interval = 10000
timeout = 2000
grace_period = "10s"
method = "get"
path = "/"