When trying to execute the “mvn clean install” command the following error is thrown:
Caused by: java.lang.RuntimeException: Driver org.postgresql.Driver claims to not accept jdbcUrl, ${DB_URL}
“mvn clean install” not works with application.yml env variables like secret_key: ${ENCRYPTION_KEY}?
al_ps
2
Hi,
As you’re referring to Java, you’ll be using Docker. To use environment variables with Docker during the build, you’ll need to refer to these docs: https://docs.render.com/docker-secrets#environment-variables-in-docker-builds (need to use ARG
)
Alan
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.