remove postgresql passwords where they are not needed #52

Merged
rouven0 merged 2 commits from db-passwords into main 2023-07-20 12:48:05 +02:00
rouven0 commented 2023-07-19 17:46:37 +02:00 (Migrated from github.com)

As we use unix socket authentication and have all databases locally we do not need to set database passwords for any service

As we use unix socket authentication and have all databases locally we do not need to set database passwords for any service
tanneberger (Migrated from github.com) approved these changes 2023-07-19 20:48:51 +02:00
tanneberger (Migrated from github.com) left a comment

the escapes look weird bu otherwise very nice

the escapes look weird bu otherwise very nice
@ -25,3 +25,3 @@
protocolUseSSL = true;
dbURL = "postgres://hedgedoc:\${DB_PASSWORD}@localhost:5432/hedgedoc";
dbURL = "postgres://hedgedoc@%2Frun%2Fpostgresql/hedgedoc";
sessionSecret = "\${SESSION_SECRET}";
tanneberger (Migrated from github.com) commented 2023-07-19 20:48:15 +02:00

why this escaping ?

why this escaping ?
rouven0 (Migrated from github.com) reviewed 2023-07-19 20:56:03 +02:00
@ -25,3 +25,3 @@
protocolUseSSL = true;
dbURL = "postgres://hedgedoc:\${DB_PASSWORD}@localhost:5432/hedgedoc";
dbURL = "postgres://hedgedoc@%2Frun%2Fpostgresql/hedgedoc";
sessionSecret = "\${SESSION_SECRET}";
rouven0 (Migrated from github.com) commented 2023-07-19 20:56:03 +02:00

Some services apparently need it to distinguish between socket and internal database/table path

Some services apparently need it to distinguish between socket and internal database/table path
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: wurzel/fruitbasket#52
No description provided.