Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between POSTGRES_USER and PEERTUBE_DB_USERNAME ? #1

Open
arthurzenika opened this issue Sep 24, 2021 · 1 comment
Open

Comments

@arthurzenika
Copy link

First off, thanks for sharing your deployment code and for referencing our project as source of inspiration.

Question :

  POSTGRES_USER: "peertube"
  POSTGRES_PASSWORD: "peertube"
  POSTGRES_DB: "peertube"
  PEERTUBE_DB_USERNAME: "peertube"
  PEERTUBE_DB_PASSWORD: "peertube"

Are POSTGRES_USER and PEERTUBE_DB_USERNAME different ? or duplicate ?

@adelcasse
Copy link
Member

Hi Arthur, thanks for your feedbacks.

They are duplicate. If I remember correctly, by removing POSTGRES_USER and POSTGRES_PASSWORD, the container failed to start. That's why I've let it like in the examples environment variables https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env

If you manage to run something without these duplicates, feel free to submit a pull request or tell me here and I'll change that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants