Been using the circleci/postgres:9.6.2-alpine image for running postgres in my CI for our testing suite.
We’re running into an issue where we need multiple databases running locally so we tried setting different ports locally and that worked well, but we can’t get this to work as there doesn’t seem to be a way to set the Port for the circleci/postgres:9.6.2-alpine image.
Something similar to :
- image: circleci/postgres:9.6.2-alpine environment: POSTGRES_USER: root POSTGRES_DB: circle-test_test >>>POSTGRES_PORT: 5430
Would be awesome. Maybe it already exists but I couldn’t find any evidence for it in the docs.
Thank you as always!