mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 18:37:47 +01:00
split config
This commit is contained in:
@@ -22,14 +22,11 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
||||||
// implementation 'org.springframework.boot:spring-boot-starter-data-rest'
|
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
||||||
implementation 'org.springframework.security:spring-security-test'
|
implementation 'org.springframework.security:spring-security-test'
|
||||||
compileOnly 'org.projectlombok:lombok'
|
|
||||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||||
runtimeOnly 'com.h2database:h2'
|
runtimeOnly 'com.h2database:h2'
|
||||||
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
||||||
|
|||||||
4
server/src/main/resources/application-dev.properties
Normal file
4
server/src/main/resources/application-dev.properties
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
jwt.secret=JKLASJKLASJKLJHKLDFAHJKFDSHJKFJHKDSHJKFHJKSDFJHKSDJHKFJHS98346783467899782345jkhgsdoigh938g
|
||||||
|
logging.level.root=DEBUG
|
||||||
|
logging.level.org.springframework.security=DEBUG
|
||||||
|
spring.datasource.url=jdbc:h2:file:~/tjvserver.h2
|
||||||
@@ -1,6 +1,2 @@
|
|||||||
jwt.secret=JKLASJKLASJKLJHKLDFAHJKFDSHJKFJHKDSHJKFHJKSDFJHKSDJHKFJHKS98346783467899782345jkhgsdoigh938g
|
|
||||||
jwt.expiryMinutes=20
|
jwt.expiryMinutes=20
|
||||||
logging.level.root=DEBUG
|
|
||||||
logging.level.org.springframework.security=DEBUG
|
|
||||||
spring.datasource.url=jdbc:h2:file:~/tjvserver.h2
|
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
Reference in New Issue
Block a user