Skip to content

Commit

Permalink
add: yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YamYamee authored Aug 29, 2024
1 parent e7865ac commit cc11476
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ out/
.vscode/

### 추가로 무시할 파일 ###
*.yml
*.mp3
71 changes: 71 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
spring:
application:
name: owncast
datasource:
url: ${RDS_URL}
username: ${RDS_USERNAME}
password: ${RDS_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
format_sql: false
show_sql: false
servlet:
multipart:
enabled: true
max-file-size: 20MB # 단일 파일의 최대 크기

springdoc:
swagger-ui:
path: /swagger-ui.html
operationsSorter: method
disable-swagger-default-url: true
display-request-duration: true
api-docs:
path: /api-docs
show-actuator: true
default-consumes-media-type: application/json
default-produces-media-type: application/json
paths-to-match:
- /api/**

cloud:
aws:
credentials:
access-key: ${AWS_ACCESS_KEY}
secret-key: ${AWS_SECRET_KEY}
s3:
bucket: owncast-s3
region:
static: ap-northeast-2
auto: false
stack:
auto: false

open-ai:
secret-key: ${OPENAI_KEY}

google:
api:
key: ${GOOGLE_KEY}

naver:
cloud:
id: ${NAVER_CLOUD_ID}
secret: ${NAVER_CLOUD_SECRET_KEY}

jwt:
secret:
key: ${JWT_KEY}
access:
expire: 86400
refresh:
expire: 2592000

app:
image:
default-path: ${DEFAULT_IMAGE_PATH}

0 comments on commit cc11476

Please sign in to comment.