-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,47 @@ | ||
# fly.toml file generated for devfaq-api on 2022-11-19T13:46:34+01:00 | ||
# fly.toml app configuration file generated for devfaq-api-production on 2023-05-09T10:27:26+02:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "devfaq-api-production" | ||
primary_region = "waw" | ||
kill_signal = "SIGINT" | ||
kill_timeout = 5 | ||
processes = [] | ||
kill_timeout = "5s" | ||
|
||
[env] | ||
PORT = "8080" | ||
[experimental] | ||
auto_rollback = true | ||
|
||
[build] | ||
dockerfile = "Dockerfile" | ||
|
||
[deploy] | ||
release_command = "pnpm --filter=api exec prisma migrate deploy" | ||
|
||
[experimental] | ||
allowed_public_ports = [] | ||
auto_rollback = true | ||
[env] | ||
GIT_BRANCH = "main" | ||
GIT_COMMIT_HASH = "7d42de248dcd4fcaec1c321fcf9f0b497691aa3f" | ||
PORT = "8080" | ||
|
||
[[services]] | ||
http_checks = [] | ||
protocol = "tcp" | ||
internal_port = 8080 | ||
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 | ||
handlers = ["http"] | ||
force_https = true | ||
|
||
[[services.ports]] | ||
handlers = ["tls", "http"] | ||
port = 443 | ||
handlers = ["tls", "http"] | ||
[services.concurrency] | ||
type = "connections" | ||
hard_limit = 25 | ||
soft_limit = 20 | ||
|
||
[[services.tcp_checks]] | ||
grace_period = "1s" | ||
interval = "15s" | ||
restart_limit = 0 | ||
timeout = "2s" | ||
grace_period = "1s" | ||
restart_limit = 0 |