deploy to fly

This commit is contained in:
m5r
2021-08-27 22:32:34 +08:00
parent 7da645824a
commit 45ca5cae86
3 changed files with 104 additions and 12 deletions

48
fly.dev.toml Normal file
View File

@@ -0,0 +1,48 @@
app = "shellphone-dev"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
builder = "heroku/buildpacks:20"
[build.args]
QUIRREL_BASE_URL = "dev.shellphone.app"
[env]
AWS_SES_REGION = "eu-central-1"
AWS_SES_FROM_EMAIL = "mokhtar@fss.dev"
QUIRREL_API_URL = "https://queue.mokhtar.dev"
QUIRREL_BASE_URL = "dev.shellphone.app"
APP_BASE_URL = "dev.shellphone.app"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 3000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 6
timeout = "2s"