Skip to content

Commit

Permalink
Merge pull request #122 from hwakabh/feat/115/railway
Browse files Browse the repository at this point in the history
feat(build): added configs of railway.
  • Loading branch information
hwakabh authored Dec 25, 2024
2 parents 1536532 + 1efb526 commit c8cd108
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions railway.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://railway.com/railway.schema.json
# https://docs.railway.com/reference/config-as-code#configurable-settings

[build]
builder = "nixpacks"
nixpacksVersion = "1.30.0"
nixpacksConfigPath = "nixpacks.toml"

[deploy]
healthcheckPath = "/healthz"
healthcheckTimeout = 100
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10

numReplicas = 2

[deploy.multiRegionConfig]
# https://docs.railway.com/reference/deployment-regions
asia-southeast1.numReplicas = 1
us-west1.numReplicas = 1

0 comments on commit c8cd108

Please sign in to comment.