R
Railway12mo 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
Percy12mo ago
Project ID: f0b123dd-49d4-4bfc-b063-9a5238f876ef
Harris
Harris12mo 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
Harris12mo ago
do I need to have dev be a non-forked environment?
Harris
Harris12mo 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
Brody12mo ago
looks good to me
Want results from more Discord servers?
Add your server