-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
73 lines (73 loc) · 2.35 KB
/
application.yaml
File metadata and controls
73 lines (73 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
server:
port: ${PORT:8080}
forward-headers-strategy: framework
spring:
profiles:
default: prod
application:
name: maru-backend
datasource:
driver-class-name: org.postgresql.Driver
url: ${DATABASE_URL}
username: ${DATABASE_USERNAME}
password: ${DATABASE_PASSWORD}
flyway:
enabled: true
jpa:
hibernate:
ddl-auto: validate
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
security:
oauth2:
client:
registration:
google:
client-id: ${GOOGLE_CLIENT_ID}
client-secret: ${GOOGLE_SECRET}
scope:
- profile
- email
redirect-uri: https://${API_DOMAIN}/login/oauth2/code/google
naver:
client-id: ${NAVER_CLIENT_ID}
client-secret: ${NAVER_SECRET}
scope:
- email
client-name: Naver
authorization-grant-type: authorization_code
redirect-uri: https://${API_DOMAIN}/login/oauth2/code/naver
provider:
naver:
authorization-uri: https://nid.naver.com/oauth2.0/authorize
token-uri: https://nid.naver.com/oauth2.0/token
user-info-uri: https://openapi.naver.com/v1/nid/me
user-name-attribute: response
batch:
jdbc:
initialize-schema: never
oauth:
redirect-url: ${OAUTH_REDIRECT_URL}
success-url: ${OAUTH_SUCCESS_URL}
jwt:
access-token:
secret: ${ACCESS_TOKEN_SECRET}
expiration: ${ACCESS_TOKEN_EXPIRATION}
register-token:
secret: ${REGISTER_TOKEN_SECRET}
expiration: ${REGISTER_TOKEN_EXPIRATION}
diary:
secret: ${DIARY_SECRET}
cors:
origins: ${CORS_ORIGINS}
minio:
endpoint: ${MINIO_ENDPOINT}
access-key: ${MINIO_ACCESS_KEY}
secret-key: ${MINIO_SECRET_KEY}
bucket-name: ${MINIO_BUCKET_NAME}
presigned-url-expiration: ${MINIO_PRESIGNED_URL_EXPIRATION}
domain: ${DOMAIN}
sentry:
dsn: ${SENTRY_DSN}
send-default-pii: true