Skip to content

Commit

Permalink
chore: 서브모듈 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
kokodak committed Oct 19, 2023
1 parent ea27b77 commit 018e6cb
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/main/resources/security
Submodule security deleted from a262f1
52 changes: 52 additions & 0 deletions backend/src/main/resources/security/application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
server:
servlet:
encoding:
charset: UTF-8
tomcat:
threads:
max: 250

spring:
datasource:
url: jdbc:mysql://localhost:3306/naaga_dev?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
username: naaga
password: naaga1234
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
properties:
hibernate:
format_sql: false
default_batch_fetch_size: 1000
show-sql: false
hibernate:
ddl-auto: none
hibernate:
dialect: org.hibernate.dialect.MySQL57Dialect
defer-datasource-initialization: false

multipartFile:
directory:
path: /home/ubuntu/app/data/image

image:
path:
directory:
prefix: /home/ubuntu/app/data/image
url:
prefix: https://www.naaga.shop/images

jwt:
secret-key: 7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx

oauth:
kakao:
admin-key: 33d4f9e2b16b6ccc26703983421e9c7a
url:
auth: https://kauth.kakao.com
api: https://kapi.kakao.com

manager:
id: 2023-naaga
password: naaga
origin-url: https://naaga.shop

48 changes: 48 additions & 0 deletions backend/src/main/resources/security/application-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
server:
servlet:
encoding:
charset: UTF-8
spring:
datasource:
username: sa
url: jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_ON_EXIT=FALSE
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL57Dialect
format_sql: 'true'
defer-datasource-initialization: 'true'
show-sql: 'true'
hibernate:
ddl-auto: create-drop
logging:
level:
root: DEBUG
org:
hibernate:
type:
descriptor:
sql:
BasicBinder: TRACE

image:
path:
directory:
prefix: /Users/hwan/naaga/2023-naaga/backend/src/main/resources/static
url:
prefix: http://localhost:8080

jwt:
secret-key: 7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx

oauth:
kakao:
admin-key: 33d4f9e2b16b6ccc26703983421e9c7a
url:
auth: https://kauth.kakao.com
api: https://kapi.kakao.com

manager:
id: 2023-naaga
password: naaga
origin-url: https://naaga.shop
44 changes: 44 additions & 0 deletions backend/src/main/resources/security/application-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
server:
servlet:
encoding:
charset: UTF-8

spring:
datasource:
url: jdbc:mysql://192.168.2.112:3306/naaga?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
username: naaga_prod
password: naaga1234
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
properties:
hibernate:
format_sql: true
show-sql: true
hibernate:
ddl-auto: none
hibernate:
dialect: org.hibernate.dialect.MySQL57Dialect
defer-datasource-initialization: false

image:
path:
directory:
prefix: /home/ubuntu/naaga/data/images
url:
prefix: http://naaga.world/images

jwt:
secret-key: 7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx

oauth:
kakao:
admin-key: 33d4f9e2b16b6ccc26703983421e9c7a
url:
auth: https://kauth.kakao.com
api: https://kapi.kakao.com

manager:
id: 2023-naaga
password: naaga
origin-url: https://naaga.shop

42 changes: 42 additions & 0 deletions backend/src/main/resources/security/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
spring:
# for test
h2:
console:
enabled: true
datasource:
# for test
url: jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;
username: sa
password:

jpa:
hibernate:
ddl-auto: create-drop # for test
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL57Dialect
format_sql: true # for test
show-sql: true # for test

image:
path:
directory:
prefix: /Users/hwan/naaga/2023-naaga/backend/src/main/resources/static
url:
prefix: http://localhost:8080

jwt:
secret-key: 7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx7LGE7LGE66Oo7Lm07J2066CI7L2U7L2U64ul672A65iQ67mF7Iqk7YGs66Gx

oauth:
kakao:
admin-key: 33d4f9e2b16b6ccc26703983421e9c7a
url:
auth: https://kauth.kakao.com
api: https://kapi.kakao.com

manager:
id: 2023-naaga
password: naaga
origin-url: https://naaga.shop

0 comments on commit 018e6cb

Please sign in to comment.