shellphone.app/fly.toml

54 lines
1.1 KiB
TOML
Raw Normal View History

2022-06-27 00:26:06 +00:00
app = "shellphone-prod"
2022-05-14 10:22:06 +00:00
kill_signal = "SIGINT"
kill_timeout = 5
2022-06-27 00:26:06 +00:00
processes = []
2022-05-14 10:22:06 +00:00
[deploy]
2022-06-27 00:26:06 +00:00
release_command = "npx prisma migrate deploy"
[env]
APP_BASE_URL = "https://www.shellphone.app"
AWS_SES_FROM_EMAIL = "\"Mokhtar from Shellphone\" <mokhtar@shellphone.app>"
2022-07-03 13:42:31 +00:00
AWS_REGION = "eu-central-1"
2022-06-27 00:26:06 +00:00
NODE_ENV = "production"
PORT = "8080"
2022-05-14 10:22:06 +00:00
[experimental]
2022-06-27 00:26:06 +00:00
allowed_public_ports = []
auto_rollback = true
2022-05-14 10:22:06 +00:00
[[services]]
2022-06-27 00:26:06 +00:00
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
2022-05-14 10:22:06 +00:00
[services.concurrency]
2022-06-27 00:26:06 +00:00
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.http_checks]]
grace_period = "5s"
interval = 10000
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = 2000
tls_skip_verify = false
[services.http_checks.headers]
2022-05-14 10:22:06 +00:00
[[services.ports]]
2022-06-27 00:26:06 +00:00
force_https = true
handlers = ["http"]
port = 80
2022-05-14 10:22:06 +00:00
[[services.ports]]
2022-06-27 00:26:06 +00:00
handlers = ["tls", "http"]
port = 443
2022-05-14 10:22:06 +00:00
[[services.tcp_checks]]
2022-06-27 00:26:06 +00:00
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"