Added by Marco Morath 25 days ago
I have installed an instance with version 15 as a Docker container with Docer Compose. When the container is started, three networks are created (frontend, backend, default). While frontend and backend have the typical network ranges (172.x.x.x), default apparently has a different range (192.168.16.x). This results in me having overlapping networks as I already have the 192.168.16.x network elsewhere.
Is it possible to change the default network to the usual Docker range as well (172.x.x.x) so that there is no overlap?
There is also another problem. I need to install a second instance on the same host. However, it seems that the containers are then overwritten because they seem to have the same name. In any case, I can't manage to run two instances in parallel. How can I manage this?
Replies (1)
I have solved the two problems in the meantime.
With regard to network segmentation, it is possible to determine manually defined address ranges by adding the desired ranges to the Networks section and also adding the default network to prevent automatic generation in the background:
The address range 172.2.x.0/24 is then used in the second app.
I had another error with the problem with the two instances running in parallel.
If you clone the Git repository of OpenProject, the main folder “openproject” is also cloned. This folder is used for the name of the stack on the system. It must therefore be renamed for multiple instances.
The app files (docker-compose.yml etc) must then be located directly within the app folders (no further subfolders in between).