52 lines
958 B
TOML
52 lines
958 B
TOML
# fly.toml app configuration file generated for dfb-ch9-blog on 2023-04-27T15:05:46-04:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = "dfb-ch9-blog"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = 5
|
|
primary_region = "bos"
|
|
processes = []
|
|
|
|
[build]
|
|
|
|
[deploy]
|
|
release_command = "python manage.py migrate"
|
|
|
|
[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/static"
|
|
url_prefix = "/static/"
|