Updated username, host and changed password to env var for DB in application.properties.

This commit is contained in:
K
2025-04-20 03:54:04 +05:30
parent 3801a9b5c2
commit 769ac030b3
+3 -3
View File
@@ -9,9 +9,9 @@ security.jwt.secret-key=3cfa76ef14937c1c0ea519f8fc057a80fcd04a7420f8e8bcd0a7567c
security.jwt.expiration-time=3600000 security.jwt.expiration-time=3600000
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
spring.datasource.username=kshitij spring.datasource.username=skycrateDB
spring.datasource.password=loa_dngLLA8729 spring.datasource.password=${MYSQL_PASSWORD}
spring.datasource.url=jdbc:mysql://192.168.29.55:3306/skycrate spring.datasource.url=jdbc:mysql://db:3306/skycrate
spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true spring.jpa.show-sql=true