Skip to content

Commit 61a4473

Browse files
authored
add env variables in place of db username and password (#50)
1 parent e8d5031 commit 61a4473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/application.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ spring:
1818

1919
datasource:
2020
url: jdbc:mysql:thin://operations-mysql:3306/messagegateway
21-
username: root
22-
password: 4ET6ywqlGt
21+
username: ${MYSQL_USERNAME:root}
22+
password: ${MYSQL_PASSWORD:password}
2323
driver-class-name: org.drizzle.jdbc.DrizzleDriver
2424

2525
# Status Callback configuration for Twilio. Port will be taken from server configuration

0 commit comments

Comments
 (0)