IQSS / dataverse-docker

Dataverse 6.2 on Docker with integrated services called "Archive in a box" and could be used both as demo and production system and easily integrated with other services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PGPASSWORD env variable for dataverse container doesn't apply

antonpolishko opened this issue · comments

the variable in docker-compose.yml "PGPASSWORD" is not used inside dataverse container. Instead the password is hardcoded inside the container ekoindarto/dataverse-cvm:5.0

/opt/payara/scripts/init_2_conf_payara.sh
...
echo 'set resources.jdbc-connection-pool.dvnDbPool.property.password=dvnsecret' >> ${DV_POSTBOOT}
...

something like next is expected instead

echo "set resources.jdbc-connection-pool.dvnDbPool.property.password=${PGPASSWORD}" >> ${DV_POSTBOOT}