Skip to content

GHGHGHKO/goose-auth-api-server

Repository files navigation

goose-auth-api-server

빌드 방법

로컬 빌드 방법

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

혹은

vault 설정하기

  cloud:
    vault:
      uri: http://localhost:8200
      token: insert-your-TOKEN

vault 내부 (로컬환경)

{
  "spring.datasource.password": "gooseauth",
  "spring.datasource.url": "jdbc:postgresql://localhost:5431/gooseauth",
  "spring.datasource.username": "gooseauth",
  "spring.jpa.hibernate.ddl-auto": "update"
}

활용 기술

tech-stack