A
A
Arthur2017-09-07 09:44:09
Node.js
Arthur, 2017-09-07 09:44:09

docker-compose. Should two identical containers be used?

Good day!
A container with a NodeJS application spins on the server, performs the function of integrating 1C and the Oracle database. To be more precise, we send GET / POST requests to the server from 1C and do some manipulations with the Oracle database.
One service (transport) works with this container, and a certain programmer is responsible for the development of the functionality.
So there was a need for integration with accounting, is it worth launching a new application in a separate container? There will also be another developer here.
Or is it still limited to one and make divisions inside the application?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
emp1re, 2017-09-07
@emp1re

Sometimes it is useful to read about design patterns, you are currently using a microservice, and accordingly you need to raise 1 more in a new container and a separate git repository. And it doesn't even matter what programming language will be used in these services.

I
Ivan, 2017-09-07
@helpik94

Of course, it's better to run a new application in a new container.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question