Pregunta

I have an app that I want to deploy, but I need to deploy several instances of the app on the same server. Each instance needs to have a different unit ID in its app.config file. How can I do that?

I set up the app:

enter image description here

Then I created the variables:

enter image description here

But when I try to add the second instance to the server, I get this message:

enter image description here

How can I add another instance, and have each use unique unit ID variables?

¿Fue útil?

Solución

If deployment instances vary by a certain variable, simply create those separate variables:

enter image description here

They'll look like this:

enter image description here

enter image description here

Then, on the servers tab, you can enter as many instances of that app as you'd like, as long as they each have a different override group.

enter image description here

Now, when these are deployed, each app instance will use the unit ID value in the override group specified for that app.

Hope that helps.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top