Hi everyone,
I started some time ago defining some build steps into BB pipelines, I found many useful features, among them the definition of services.
I've tried a postgres and a rabbitmq image to test the application I'm working on and as far as I run the services with the default ports everything works smoothly.
Now I'm trying to define a service with a postgres container exposed on a port different from the default one.
definitions:
services:
postgres:
image: postgres:14
variables:
POSTGRES_PASSWORD: some_pass
POSTGRES_USER: some_user
ports:
"5433:5432"
This docker-like approach seems not to work, during the test steps the application is not able to reach the container.
Is there a way to achieve this without push/pull a custom image?
Thanks.
Best regards,
Federico