shellphone.app/fly.dev.toml
2022-07-03 15:48:21 +02:00

54 lines
1.1 KiB
TOML

app = "shellphone-dev"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[deploy]
release_command = "npx prisma migrate deploy"
[env]
APP_BASE_URL = "https://dev.shellphone.app"
AWS_SES_FROM_EMAIL = "\"Mokhtar from Shellphone\" <mokhtar@shellphone.app>"
AWS_REGION = "eu-central-1"
NODE_ENV = "production"
PORT = "8080"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
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]
[[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"