remove pg connect string, add rethink user and password
This commit is contained in:
parent
9f41993566
commit
69cf505a90
2 changed files with 7 additions and 2 deletions
|
@ -21,11 +21,12 @@ ENV STORAGE_TYPE=memcached \
|
|||
STORAGE_PORT=11211\
|
||||
STORAGE_EXPIRE_SECONDS=2592000\
|
||||
STORAGE_DB=2 \
|
||||
STORAGE_CONNECTION_URL= \
|
||||
STORAGE_AWS_BUCKET= \
|
||||
STORAGE_AWS_REGION= \
|
||||
STORAGE_PG_PASSWORD= \
|
||||
STORAGE_PG_USERNAME=
|
||||
STORAGE_PG_USERNAME= \
|
||||
STORAGE_RETHINK_USER= \
|
||||
STORAGE_RETHINK_PASSWORD=
|
||||
|
||||
ENV LOGGING_LEVEL=verbose \
|
||||
LOGGING_TYPE=Console \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue