This enables the simultaneous use of more than one local dockerized database by using a host port number that's more unique than the default.
details
The new Data Flow repo mimics the approach of this one: a docker container for a local postgres database.
In order to use two local databases created via docker compose up, the host port of the port mapping in compose.yml must be more unique than 5432:5432.
The host port for the Data Flow DB has already be changed to 8001here. The proposed host port number here is 8010. Both number were chosen arbitrarily.
related to NYCPlanning/ae-data-flow#29
summary of changes
This enables the simultaneous use of more than one local dockerized database by using a host port number that's more unique than the default.
details
The new Data Flow repo mimics the approach of this one: a docker container for a local postgres database.
In order to use two local databases created via
docker compose up
, the host port of the port mapping incompose.yml
must be more unique than5432:5432
.The host port for the Data Flow DB has already be changed to
8001
here. The proposed host port number here is8010
. Both number were chosen arbitrarily.screenshots
data in the local databases
data in the Zoning PoC