Skip to content

Commit

Permalink
[CHORE] resources 디렉토리 생성을 위한 커밋
Browse files Browse the repository at this point in the history
  • Loading branch information
sunseo18 committed Sep 15, 2023
1 parent 4594fd1 commit ed73cce
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ gradle-app.setting
# End of https://www.gitignore.io/api/java,macos,gradle,intellij

# yaml 파일
src/main/resources/application.yaml
189 changes: 189 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
spring:
profiles:
active: local

# local
---
spring:
config:
activate:
on-profile: local

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${db-url}
username: ${db-username}
password: ${db-password}

jpa:
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true
servlet:
multipart:
max-file-size: 3MB
max-request-size: 4MB

server:
port: 8080

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

springdoc:
packages-to-scan: indipage.org.indipage
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
tags-sorter: alpha
operations-sorter: alpha
api-docs:
path: /api-docs/json
groups:
enabled: true
cache:
disabled: true

jwt:
secret: ${jwt-secret}

oauth:
apple:
client-id: ${apple-client-id}
nonce: ${apple-nonce}
google:
client-id: ${google-client-id}

# set1
---

spring:
config:
activate:
on-profile: set1

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${db-url}
username: ${db-username}
password: ${db-password}

jpa:
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true

server:
port: 8081

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

springdoc:
packages-to-scan: indipage.org.indipage
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
tags-sorter: alpha
operations-sorter: alpha
api-docs:
path: /api-docs/json
groups:
enabled: true
cache:
disabled: true

jwt:
secret: ${jwt-secret}

oauth:
apple:
client-id: ${apple-client-id}
nonce: ${apple-nonce}
google:
client-id: ${google-client-id}

# set2
---

spring:
config:
activate:
on-profile: set2

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${db-url}
username: ${db-username}
password: ${db-password}

jpa:
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true

server:
port: 8082

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

jwt:
secret: ${jwt-secret}

oauth:
apple:
client-id: ${apple-client-id}
nonce: ${apple-nonce}
google:
client-id: ${google-client-id}

springdoc:
packages-to-scan: indipage.org.indipage
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
tags-sorter: alpha
operations-sorter: alpha
api-docs:
path: /api-docs/json
groups:
enabled: true
cache:
disabled: true

0 comments on commit ed73cce

Please sign in to comment.