thehyve / transmart-core

Core components and documentation of the tranSMART platform. https://i2b2transmart.org/
GNU General Public License v3.0
13 stars 13 forks source link

Db user credentials not handled correctly in Docker enrypoint #472

Closed ewelinagr closed 4 years ago

ewelinagr commented 5 years ago

There are 2 variables in transmart-api-server entrypoint for tranSMART db user, that are not used: https://github.com/thehyve/transmart-core/blob/dev/docker/transmart-api-server/docker-entrypoint.sh#L27 As a result, the default values set here are always used for transmart-api-server.

These values should be either set using environment variables and then added to dataSource properties in the enrtypoint file, or they should be removed.