Decoupling PostgreSQL

Hi everyone,

We’ve been trying to deploy the full OpenRemote stack as described here: https://github.com/openremote/openremote/blob/master/README.md, using the docker-compose mentioned there. We wanted to investigate the possibility of decoupling the openremote/postgresql service from the rest of the stack so we can run it on a dedicated machine. We’ve noticed, however, that there is a shared volume between the ‘postgresql’ and the ‘manager’ service, i.e., the ‘manager-data’ volume and we were curious if this volume is actually required to be included in the ‘postgresql’ service. In fact, by simply removing the volume from the latter, the whole stack seems to be able to be deployed with no issues (we’ve tested basic functionality however). Could you let us know if there are specific reasons why this volume is required in the ‘postgresql’ service, or could we simply remove it?

Thanks a lot for the help.

@Rich should be able to answer this.

Hi,

The shared volume is used for DB data exports from the manager UI so things run fine without it.

ATB,

Rich