-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
39 lines (31 loc) · 746 Bytes
/
fly.toml
File metadata and controls
39 lines (31 loc) · 746 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
38
39
app = "ebu-breakfast"
[env]
DEBUG = "False"
ASGI_THREADS = 15
[deploy]
release_command = "python manage.py migrate --no-input"
[processes]
app = "gunicorn breakfast.asgi:application -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8080"
[[statics]]
guest_path = "/app/static"
url_prefix = "/static"
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 50
soft_limit = 40
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"