The README.md indicates you can change values such as POSTGRES_PORT, MONGO_PORT, etc. in your .env file. While this partially works due to the environment part of the cdcs service definition in docker-compose.yml:
It doesn't actually work when you try to bring the deployment up, because the individual services (PostgreSQL, Mongo, and Redis) haven't changed what port they're running on internally (and they don't expose ports onto the host). Since docker-compose uses internal networking for all of these services, changing the ports isn't actually necessary if you want to run multiple CDCS instances on the same machine, since the ports are local to the individual services, and won't conflict on the host (since they're not being exposed). The only ones that need to be changed are the nginx ones.
I would suggest adding a note to the description field for these values in the README.md field that changing them will break things (and it's not necessary, as described above).
The
README.md
indicates you can change values such asPOSTGRES_PORT
,MONGO_PORT
, etc. in your.env
file. While this partially works due to theenvironment
part of thecdcs
service definition indocker-compose.yml
:It doesn't actually work when you try to bring the deployment up, because the individual services (PostgreSQL, Mongo, and Redis) haven't changed what port they're running on internally (and they don't expose ports onto the host). Since
docker-compose
uses internal networking for all of these services, changing the ports isn't actually necessary if you want to run multiple CDCS instances on the same machine, since the ports are local to the individual services, and won't conflict on the host (since they're not being exposed). The only ones that need to be changed are thenginx
ones.I would suggest adding a note to the description field for these values in the
README.md
field that changing them will break things (and it's not necessary, as described above).