solved unable to pick up user env vars

This commit is contained in:
heyethereum
2024-07-11 20:50:03 +08:00
parent 5c30821683
commit 0a0a638a06
2 changed files with 22 additions and 17 deletions

View File

@@ -1,18 +1,2 @@
spring.application.name=SafeQR-app
#{SERVER_SSL_KEY_STORE_LOCATION}
server.ssl.key-store-password=${SERVER_SSL_KEY_STORE_PASSWORD}
server.ssl.key-alias=${SERVER_SSL_KEY_ALIAS}
trust.store=${SERVER_SSL_TRUST_STORE_LOCATION}
trust.store.password=${SERVER_SSL_TRUST_STORE_PASSWORD}
spring.datasource.url=${SERVER_DB_URL}
spring.datasource.username=${SERVER_DB_USERNAME}
spring.datasource.password=${SERVER_DB_PASSWORD}
spring.datasource.driver-class-name=${SERVER_DB_DRIVER_CLASS_NAME}
spring.jpa.database-platform=${SERVER_DB_DIALECT}
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
google.safebrowsing.api.key=${GOOGLE_SAFEBROWSING_API_KEY}
virustotal.api.key=${VIRUSTOTAL_API_KEY}
spring.profiles.active=prod