-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
56 lines (45 loc) · 1.1 KB
/
fly.toml
File metadata and controls
56 lines (45 loc) · 1.1 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# fly.toml file generated for dcus-automation on 2023-02-09T17:33:21-06:00
app = "dcus-automation-prod"
kill_signal = "SIGINT"
kill_timeout = 5
[processes]
app = "gunicorn --bind :8000 --workers 2 automation.wsgi"
worker = "python -m manage qcluster --skip-checks"
[deploy]
release_command = "python -m manage migrate --noinput --skip-checks"
[http_service]
auto_start_machines = true
auto_stop_machines = true
force_https = false
internal_port = 8000
min_machines_running = 0
processes = ["app"]
[env]
PORT = "8000"
[experimental]
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
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"
[[statics]]
guest_path = "/code/staticfiles"
url_prefix = "/static/"