diff --git a/pom.xml b/pom.xml index bb9b993..3a6f427 100644 --- a/pom.xml +++ b/pom.xml @@ -59,6 +59,37 @@ spring-boot-starter-webmvc-test test + + + + + + org.springframework.boot + spring-boot-starter-flyway + + + + + org.flywaydb + flyway-core + + + + + org.flywaydb + flyway-database-postgresql + + + + + + org.springframework.boot + spring-boot-starter-jdbc + + + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7f69322..5b00e5b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,3 +1,7 @@ spring.application.name=TagLens -spring.sql.init.mode=always \ No newline at end of file + + +spring.datasource.url=${DB_URL} +spring.datasource.username=${DB_USERNAME} +spring.datasource.password=${DB_PASSWORD} \ No newline at end of file