Fernando 1 месяц назад
Родитель
Сommit
b98a448977
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/main/resources/application-postgres.properties

+ 4 - 4
src/main/resources/application-postgres.properties

@@ -2,11 +2,11 @@ spring.application.name=genesis
 
 server.port=${SERVER_PORT:8081}
 
-api.security.token.secret=${JWT_SECRET:my-secret-key}
+api.security.token.secret=${JWT_SECRET}
 
-spring.datasource.url=${DB_URL:jdbc:postgresql://localhost:5432/testdb}
-spring.datasource.username=${DB_USERNAME:mengal}
-spring.datasource.password=${DB_PASSWORD:12345}
+spring.datasource.url=${DB_URL}
+spring.datasource.username=${DB_USERNAME}
+spring.datasource.password=${DB_PASSWORD}
 spring.datasource.driver-class-name=org.postgresql.Driver
 
 spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect