R
Railway13mo ago
Harris

is it possible to have seperate # of replicas for dev environment rather than main?

for some reason whenever I change my forked environment (dev), main gets updated too
6 Replies
Percy
Percy13mo ago
Project ID: f0b123dd-49d4-4bfc-b063-9a5238f876ef
Harris
HarrisOP13mo ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Harris
HarrisOP13mo ago
do I need to have dev be a non-forked environment?
Harris
HarrisOP13mo ago
[build]
builder = "DOCKERFILE"
watchPatterns = ["apps/ws_server"]

[deploy]
restartPolicyType = "ALWAYS"
restartPolicyMaxRetries = 10

[environments.production.deploy]
numReplicas = 10

[environments.dev.deploy]
numReplicas = 2
[build]
builder = "DOCKERFILE"
watchPatterns = ["apps/ws_server"]

[deploy]
restartPolicyType = "ALWAYS"
restartPolicyMaxRetries = 10

[environments.production.deploy]
numReplicas = 10

[environments.dev.deploy]
numReplicas = 2
like so?
Brody
Brody13mo ago
looks good to me
Want results from more Discord servers?
Add your server