Forum OpenACS Development: Re: OpenACS/Naviserver docker images using s6-overlay
You are right with your assumption.
The docker-compose file contains configuration parameter for postgres:
... ports: - 5432:5432 ...
From docs https://docs.docker.com/compose/compose-file/compose-file-v3/#ports the first value is host port. If it is busy the postgres will not run.
Probably "..address already in use for docker-compose" from https://stackoverflow.com/questions/47069540/docker-compose-postgres-5432-bind-address-already-in-use-error may become a solution ?
In near time I will modify docker-compose file that the first port value read from variable (for exclude bind address conflicts on local computer).
Done. For postgres from docker-compose specified just the container port - 5432 (an ephemeral host port is chosen for the host port).