Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

(Docker) Fix postgresql password generation #389

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

OscarCMD
Copy link
Contributor

@OscarCMD OscarCMD commented Jul 4, 2022

This makes the script generate a password that this code line can use without issue:

DATABASE_URL: postgres://postgres:${DB_PASSWORD}@db:5432/teledrive?connect_timeout=60&pool_timeout=60&socket_timeout=60

With base64 it could create "/" and "+" characters that can difer with the url causing teledrive can't connect to the database.

@vercel
Copy link

vercel bot commented Jul 4, 2022

@OscarCMD is attempting to deploy a commit to the Restfire Studio Team on Vercel.

A member of the Team first needs to authorize it.

@OscarCMD OscarCMD changed the title Fix postgresql password generation (Docker) Fix postgresql password generation Jul 4, 2022
@OscarCMD OscarCMD changed the base branch from main to staging July 4, 2022 12:57
@mgilangjanuar mgilangjanuar merged commit 41bdf31 into mgilangjanuar:staging Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants