mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-30 11:35:42 +00:00
Merge pull request #451 from speshak/remote_pg
Add DBHOST & DBPORT parameters to settings
This commit is contained in:
3 files changed
+7
-2
No files matched your search
@@ -152,6 +152,10 @@ if os.getenv("PAPERLESS_DBUSER"):
|
||||
}
|
||||
if os.getenv("PAPERLESS_DBPASS"):
|
||||
DATABASES["default"]["PASSWORD"] = os.getenv("PAPERLESS_DBPASS")
|
||||
if os.getenv("PAPERLESS_DBHOST"):
|
||||
DATABASES["default"]["HOST"] = os.getenv("PAPERLESS_DBHOST")
|
||||
if os.getenv("PAPERLESS_DBPORT"):
|
||||
DATABASES["default"]["PORT"] = os.getenv("PAPERLESS_DBPORT")
|
||||
|
||||
|
||||
# Password validation
|
||||
|
||||
Reference in new issue
Block a user