Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use geonetwork database parameters in stead of customised #42

Open
pvgenuchten opened this issue Jan 31, 2020 · 0 comments
Open

Use geonetwork database parameters in stead of customised #42

pvgenuchten opened this issue Jan 31, 2020 · 0 comments

Comments

@pvgenuchten
Copy link

database configuration is injected in scripts from docker only environment variables in a deploy script

echo "jdbc.username=$POSTGRES_DB_USERNAME" >> "$CATALINA_HOME"/webapps/geonetwork/WEB-INF/config-db/jdbc.properties

However geonetwork already has a mechanism to inject environment parameters into the application, to prevent extra (contradicting) documentation, i recommend to use the default geonetwork injection mechanism

docker run -e jdbc.database=example...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant