diff --git a/layer-api/src/main/resources/application-test.yml b/layer-api/src/main/resources/application-test.yml index 74dd6f10..6f84780a 100644 --- a/layer-api/src/main/resources/application-test.yml +++ b/layer-api/src/main/resources/application-test.yml @@ -1,30 +1,26 @@ spring: config: - import: application-secret.properties + import: optional:file:/config/application-secret.properties datasource: - driver-class-name: org.h2.Driver - url: jdbc:h2:mem:layer-local-db;DATABASE_TO_UPPER=FALSE;mode=mysql # H2 접속 정보 (전부 소문자로 지정) - username: sa - password: - h2: - console: - enabled: true - path: /h2-console + url: ${DEV_DB_URL} + username: ${DEV_DB_NAME} + password: ${DEV_DB_PASSWORD} + driver-class-name: com.mysql.cj.jdbc.Driver jpa: - database-platform: org.hibernate.dialect.H2Dialect hibernate: - ddl-auto: create + ddl-auto: update properties: hibernate: format_sql: true show_sql: true open-in-view: false + database: mysql data: redis: - host: localhost - port: 6379 - password: + host: ${DEV_REDIS_HOST} + port: ${DEV_REDIS_PORT} + password: ${DEV_REDIS_PASSWORD} jwt: secret: ${DEV_JWT_SECRET} @@ -32,7 +28,7 @@ jwt: kakao: login: api_key: ${DEV_KAKAO_API_KEY} - redirect_uri: http://localhost:8080/api/auth/oauth2/kakao + redirect_uri: ${DEV_KAKAO_REDIRECT_URI} uri: base: https://kauth.kakao.com code: /oauth/authorize @@ -52,8 +48,13 @@ google: code_redirect_uri: http://localhost:8080/api/auth/oauth2/google/code sheet: id: ${GOOGLE_SHEET_ID} - token_path: ${LOCAL_GOOGLE_TOKEN_PATH} + token_path: ${DEV_GOOGLE_TOKEN_PATH} +apple: + login: + issuer: ${DEV_APPLE_ISSUER} + client_id: ${DEV_APPLE_CLIENT_ID} + audience: ${DEV_APPLE_AUD} webmvc: cors: