로컬 빌드 방법
1. postgres, redis container 실행
2. configuration 설정
Run/Debug Configurations
Override configuration properties
Name | Value |
---|---|
spring.datasource.url | jdbc:postgresql://localhost:5431/gooseauth |
spring.datasource.username | gooseauth |
spring.datasource.password | gooseauth |
spring.jpa.hibernate.ddl-auto | create |
배포 시 빌드 방법
1. postgres, redis container 실행
2. configuration 설정
Run/Debug Configurations
Override configuration properties
Name | Value |
---|---|
spring.datasource.url | jdbc:postgresql://postgres:5432/gooseauth |
spring.datasource.username | gooseauth |
spring.datasource.password | gooseauth |
spring.jpa.hibernate.ddl-auto | create |
혹은
cloud:
vault:
uri: http://localhost:8200
token: insert-your-TOKEN
{
"spring.datasource.password": "gooseauth",
"spring.datasource.url": "jdbc:postgresql://localhost:5431/gooseauth",
"spring.datasource.username": "gooseauth",
"spring.jpa.hibernate.ddl-auto": "update"
}