mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-13 18:25:55 +00:00
remove pg connect string, add rethink user and password
This commit is contained in:
@@ -14,6 +14,8 @@ const {
|
||||
STORAGE_AWS_REGION,
|
||||
STORAGE_PG_PASSWORD,
|
||||
STORAGE_PG_USERNAME,
|
||||
STORAGE_RETHINK_USER,
|
||||
STORAGE_RETHINK_PASSWORD,
|
||||
LOGGING_LEVEL,
|
||||
LOGGING_TYPE,
|
||||
LOGGING_COLORIZE,
|
||||
@@ -91,6 +93,8 @@ const config = {
|
||||
region: STORAGE_AWS_REGION,
|
||||
connectionUrl: `postgres://${STORAGE_PG_USERNAME}:${STORAGE_PG_PASSWORD}@${STORAGE_HOST}:${STORAGE_PORT}/${STORAGE_DB}`,
|
||||
db: STORAGE_DB,
|
||||
user: STORAGE_RETHINK_USER,
|
||||
password: STORAGE_RETHINK_USER,
|
||||
},
|
||||
|
||||
documents: DOCUMENTS
|
||||
|
||||
Reference in New Issue
Block a user