Skip to content

How to change the default database port (5432)? #35

Answered by robske110
Julien4135 asked this question in Q&A
Discussion options

You must be logged in to vote

This is how to change the port which is used for the postgresql database:

Note1: There is no need to run a second postgresql server just for IDDataLogger, if you already have one running for another application, you can just create a new empty database with a separate user and set that in IDDataLoggers config.

Note2: If you are using VWsFriend (this only applies for setups using the HomeKit docker file) it is easier to simply add DB_PORT=5422 to the myconfig.env file.

If you still want to change the port IDDataLogger uses for its database, you will need to set db.host to localhost;port=5422. (You can replace localhost or the number 5422 if needed)
The relevant part of the config should lo…

Replies: 4 comments 80 replies

Comment options

You must be logged in to vote
17 replies
@robske110
Comment options

@tillsteinbach
Comment options

@Julien4135
Comment options

@Julien4135
Comment options

@Julien4135
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by robske110
Comment options

You must be logged in to vote
5 replies
@robske110
Comment options

@Julien4135
Comment options

@robske110
Comment options

@Julien4135
Comment options

@robske110
Comment options

Comment options

You must be logged in to vote
58 replies
@robske110
Comment options

@Julien4135
Comment options

@Julien4135
Comment options

@Julien4135
Comment options

@robske110
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
3 participants