mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Merge pull request #451 from speshak/remote_pg
Add DBHOST & DBPORT parameters to settings
This commit is contained in:
		| @@ -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
	 Daniel Quinn
					Daniel Quinn