Skip to content

How to access my local Database of the app? #8453

Discussion options

You must be logged in to vote

Right, so by default, the database container port (5432) is only exposed to the other docker containers.

To expose the port to the local machine, you will need to add the following line to your docker compose file:

    ports:
      - 5432:5432

e.g.

I have just tested this and confirmed that (with the additional line) it works with DBeaver

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@salexandru-123
Comment options

@SchrodingersGat
Comment options

@salexandru-123
Comment options

@SchrodingersGat
Comment options

Answer selected by salexandru-123
@salexandru-123
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants