|
| 1 | +spring: |
| 2 | + mvc: |
| 3 | + format: |
| 4 | + date: iso |
| 5 | + date-time: iso |
| 6 | + time: iso |
| 7 | + datasource: |
| 8 | + url: ${SPRING_DATASOURCE_URL} |
| 9 | + username: ${SPRING_DATASOURCE_USERNAME} |
| 10 | + password: ${SPRING_DATASOURCE_PASSWORD} |
| 11 | + jpa: |
| 12 | + hibernate: |
| 13 | + ddl-auto: validate |
| 14 | + show-sql: false |
| 15 | + open-in-view: false |
| 16 | + properties: |
| 17 | + hibernate: |
| 18 | + format_sql: true |
| 19 | + flyway: |
| 20 | + enabled: true |
| 21 | + locations: classpath:/db/migration |
| 22 | + baseline-on-migrate: true |
| 23 | + validate-on-migrate: true |
| 24 | + |
| 25 | +jwt: |
| 26 | + secret: ${JWT_SECRET} |
| 27 | + access-token-expiration: 1h |
| 28 | + refresh-token-expiration: 14d |
| 29 | + |
| 30 | +cookie: |
| 31 | + secure: true |
| 32 | + http-only: true |
| 33 | + path: / |
| 34 | + max-age: 1h |
| 35 | + same-site: lax |
| 36 | + |
| 37 | +cors: |
| 38 | + allowed-origins: ${CORS_ALLOWED_ORIGINS} |
| 39 | + allowed-methods: GET,POST,PUT,PATCH,DELETE,OPTIONS |
| 40 | + allowed-headers: Authorization,Content-Type,RefreshToken,X-Requested-With |
| 41 | + allow-credentials: true |
| 42 | + max-age: 1h |
| 43 | + |
| 44 | +oauth: |
| 45 | + google: |
| 46 | + client-id: ${OAUTH_GOOGLE_CLIENT_ID} |
| 47 | + client-secret: ${OAUTH_GOOGLE_CLIENT_SECRET} |
| 48 | + redirect-uri: ${OAUTH_REDIRECT_URI_BASE}/oauth/callback/google |
| 49 | + scope: openid email profile |
| 50 | + urls: |
| 51 | + authorization: https://accounts.google.com/o/oauth2/v2/auth |
| 52 | + token: https://oauth2.googleapis.com/token |
| 53 | + user-info: https://www.googleapis.com/oauth2/v3/userinfo |
| 54 | + kakao: |
| 55 | + client-id: ${OAUTH_KAKAO_CLIENT_ID} |
| 56 | + client-secret: ${OAUTH_KAKAO_CLIENT_SECRET} |
| 57 | + redirect-uri: ${OAUTH_REDIRECT_URI_BASE}/oauth/callback/kakao |
| 58 | + scope: profile_nickname |
| 59 | + urls: |
| 60 | + authorization: https://kauth.kakao.com/oauth/authorize |
| 61 | + token: https://kauth.kakao.com/oauth/token |
| 62 | + user-info: https://kapi.kakao.com/v2/user/me |
| 63 | + |
| 64 | +sms: |
| 65 | + solapi: |
| 66 | + api-key: ${SMS_SOLAPI_API_KEY} |
| 67 | + api-secret: ${SMS_SOLAPI_API_SECRET} |
| 68 | + sender-number: ${SMS_SOLAPI_SENDER_NUMBER} |
| 69 | + verification: |
| 70 | + code-length: 6 |
| 71 | + ttl-minutes: 3 |
| 72 | + resend-limit-seconds: 60 |
| 73 | + max-attempts: 5 |
| 74 | + |
| 75 | +management: |
| 76 | + endpoints: |
| 77 | + web: |
| 78 | + exposure: |
| 79 | + include: health,info |
| 80 | + endpoint: |
| 81 | + health: |
| 82 | + show-details: never |
| 83 | + |
| 84 | +logging: |
| 85 | + level: |
| 86 | + root: INFO |
| 87 | + com.maru: DEBUG |
| 88 | + org.springframework: INFO |
| 89 | + org.hibernate: WARN |
| 90 | + org.hibernate.SQL: OFF |
| 91 | + org.springframework.security: DEBUG |
| 92 | + file: |
| 93 | + name: ${LOG_PATH:/home/ec2-user}/logs/application.log |
0 commit comments