deploy that shit

This commit is contained in:
m5r
2022-06-27 02:26:06 +02:00
parent f034373406
commit d001fba764
8 changed files with 131 additions and 106 deletions
+42 -43
View File
@@ -1,54 +1,53 @@
app = "shellphoneappremixed"
app = "shellphone-prod"
kill_signal = "SIGINT"
kill_timeout = 5
processes = [ ]
[env]
APP_BASE_URL = "https://shellphoneappremixed.fly.dev"
AWS_SES_FROM_EMAIL = "remixtape@fake.app"
AWS_SES_REGION = "eu-central-1"
NODE_ENV = "production"
PORT = "8080"
processes = []
[deploy]
release_command = "npx prisma migrate deploy"
release_command = "npx prisma migrate deploy"
[env]
APP_BASE_URL = "https://www.shellphone.app"
AWS_SES_FROM_EMAIL = "\"Mokhtar from Shellphone\" <mokhtar@shellphone.app>"
AWS_SES_REGION = "eu-central-1"
NODE_ENV = "production"
PORT = "8080"
[experimental]
allowed_public_ports = [ ]
auto_rollback = true
allowed_public_ports = []
auto_rollback = true
[[services]]
internal_port = 8_080
processes = [ "app" ]
protocol = "tcp"
script_checks = [ ]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = [ "http" ]
port = 80
force_https = true
[[services.ports]]
handlers = [ "tls", "http" ]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.http_checks]]
interval = 10_000
grace_period = "5s"
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = 2_000
tls_skip_verify = false
headers = { }
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"