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.
57 stars 45 forks source link

PGPASSWORD env variable for dataverse container doesn't apply #43

Open antonpolishko opened 4 years ago

antonpolishko commented 4 years ago

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}