Fix confluence / postgres init
This commit is contained in:
parent
c3620e95c8
commit
07c019b672
|
@ -33,7 +33,7 @@
|
||||||
# EOSQL
|
# EOSQL
|
||||||
#
|
#
|
||||||
### default database and user for confluence ##############################################
|
### default database and user for confluence ##############################################
|
||||||
if [ "$POSTGRES_CONFLUENCE_INIT" == 'true' ]; then
|
if [ "$CONFLUENCE_POSTGRES_INIT" == 'true' ]; then
|
||||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||||||
CREATE USER $POSTGRES_CONFLUENCE_USER WITH PASSWORD '$POSTGRES_CONFLUENCE_PASSWORD';
|
CREATE USER $POSTGRES_CONFLUENCE_USER WITH PASSWORD '$POSTGRES_CONFLUENCE_PASSWORD';
|
||||||
CREATE DATABASE $POSTGRES_CONFLUENCE_DB;
|
CREATE DATABASE $POSTGRES_CONFLUENCE_DB;
|
||||||
|
|
Loading…
Reference in New Issue