issue with the generated railway.toml
anand-testcompare
PROOP

a month ago

I copied the exact code that was produced in the railway ui on a successful deploy.. checked it in, pushed the code, and...

[build]

builder = "RAILPACK"

[deploy]

runtime = "V2"

numReplicas = 1

sleepApplication = false

useLegacyStacker = false

multiRegionConfig = {"us-east4-eqdc4a":{"numReplicas":1}}

restartPolicyType = "ON_FAILURE"

restartPolicyMaxRetries = 10

^^^ this isn't valid toml, pretty sure u just have some function that generates it first as .json and u didn't correctly implement the function that then converts to .toml. should be an easy fix...

valid .toml

[build]

builder = "DOCKERFILE"

dockerfilePath = "Dockerfile"

[deploy]

runtime = "V2"

numReplicas = 1

sleepApplication = false

useLegacyStacker = false

multiRegionConfig = { "us-east4-eqdc4a" = { numReplicas = 1 } }

restartPolicyType = "ON_FAILURE"

restartPolicyMaxRetries = 10

Under Review

0 Threads mention this feature

0 Replies

Loading...