Changed environment variable for postgres password
This commit is contained in:
parent
e2aa11e410
commit
8a3b4f6771
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "${POSTGRES_HOST}:$(cat ${POSTGRES_DB_FILE}):$(cat ${POSTGRES_USER_FILE}):$(cat ${DB_PASSWORD_FILE})" > /root/.pgpass
|
echo "${POSTGRES_HOST}:$(cat ${POSTGRES_DB_FILE}):$(cat ${POSTGRES_USER_FILE}):$(cat ${POSTGRES_PASSWORD_FILE})" > /root/.pgpass
|
||||||
echo "${POSTGRES_HOST}:template1:$(cat ${POSTGRES_USER_FILE}):$(cat ${DB_PASSWORD_FILE})" >> /root/.pgpass
|
echo "${POSTGRES_HOST}:template1:$(cat ${POSTGRES_USER_FILE}):$(cat ${POSTGRES_PASSWORD_FILE})" >> /root/.pgpass
|
||||||
chmod 0600 /root/.pgpass
|
chmod 0600 /root/.pgpass
|
||||||
|
|
Loading…
Reference in a new issue