Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change the port exposed when using services (specifically postgres)?

Cindy Lopes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2020

We want to run our e2e tests on bitbucket pipelines. This requires us to run a PostgreSQL database as a service.

By default PostgreSQL runs on 5432 but our tests expect it to run on a different port.

Given that the service is run as a docker container is it possible to change the exposed port of the docker container to something else?

(Note: We likely can workaround this issue but it would be nice to know if this feature is available)

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events