Skip to content

Commit

Permalink
Merge pull request #211 from ivanms1/feat/development-env-setup
Browse files Browse the repository at this point in the history
feat: separate fly.toml files for dev and prod
  • Loading branch information
ivanms1 authored Jul 22, 2023
2 parents 7bdaed7 + 519bb62 commit 5060883
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions apps/api/fly-dev.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# fly.toml app configuration file generated for project-shelf-dev on 2023-05-06T17:38:07+09:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "project-shelf-development"
primary_region = "hkg"
kill_signal = "SIGINT"
kill_timeout = "5s"

[experimental]
auto_rollback = true

[deploy]
release_command = "npx prisma generate"

[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]

[[services.ports]]
port = 80
handlers = ["http"]

[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20

[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
File renamed without changes.

0 comments on commit 5060883

Please sign in to comment.