-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
51 lines (41 loc) · 1.01 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# fly.toml app configuration file generated for joshthomasdev on 2023-08-31T16:59:20-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "joshthomasdev"
console_command = "/app/manage.py shell_plus"
primary_region = "atl"
[deploy]
strategy = "rolling"
[env]
ALLOWED_HOSTS = "joshthomasdev.fly.dev,joshthomas.dev"
DEBUG = "False"
PORT = "8000"
SENTRY_DSN = "https://e237604f24df72180f8e7a4a39f9219d@o4505514140303360.ingest.sentry.io/4506202808320000"
SENTRY_ENV = "production"
[experimental]
auto_rollback = true
[mounts]
destination = "/var/lib/litefs"
source = "litefs"
[[services]]
internal_port = 8000
min_machines_running = 0
processes = ["app"]
protocol = "tcp"
[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"