-
Notifications
You must be signed in to change notification settings - Fork 1
⚙️ 프로젝트 설정파일 구성
Hyeonsu Lee edited this page Aug 14, 2024
·
5 revisions
src > main > resources
경로에 다음 두개의 파일이 존재해야합니다.
jwt:
secret-key: EXAMPLE7A3E4F37B3DAD9CD8KEY6AA4B1AF7123!@#
access-token:
expiration-time: 600000
spring:
flyway:
enabled: true
baseline-on-migrate: true
locations: classpath:db/migration
jpa:
properties:
hibernate:
show_sql: true
format_sql: true
hibernate:
ddl-auto: validate
data:
redis:
port: 6379
host: localhost
mongodb:
host: localhost
port: 27017
database: koin
thymeleaf:
prefix: "classpath:/mail/"
suffix: ".html"
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/koin?characterEncoding=utf8&useUnicode=true&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
username: root
password: 1234
logging:
level:
org:
hibernate:
type:
descriptor:
sql: trace
engin:
transaction:
internal:
TransactionImpl: DEBUG
aws:
ses:
access-key:
secret-key:
swagger:
server-url: http://localhost:8080
s3:
key: test-ck
secret: test-sk
bucket: test-bucket
custom_domain: https://test.koreatech.in/
fcm:
koin:
url: koin://OWNERPAGE
koin:
admin:
url: https://admin-url-path.com
slack:
koin_event_notify_url: https://slack-weehookurl.com
koin_owner_event_notify_url: https://slack-weehookurl.com
cors:
allowedOrigins:
- http://localhost:3000
- http://localhost:8080
- https://stage.koreatech.in
- https://owner.stage.koreatech.in
- https://admin.stage.koreatech.in
- https://bcsdlab.com
- https://api.stage.koreatech.in
naver:
accessKey: testak
secretKey: testsk
sms:
apiUrl: https://mock.api.koreatech.in
serviceId: koin:mock
fromNumber: "01077245336"
OPEN_API_KEY: testkey
OPEN_API_KEY_PUBLIC: testkey
OPEN_API_KEY_TMONEY: testkey
springdoc:
use-fqn: true
해당 파일은 보안상 여기에서 알려줄수 없습니다 😝
로컬 구동에는 문제없으니 아무 값이나 넣어도됩니다
{
"type": "test",
"project_id": "test",
"private_key_id": "test",
"private_key": "-----test",
"client_email": "test",
"client_id": "test",
"auth_uri": "test",
"token_uri": "test",
"auth_provider_x509_cert_url": "test",
"client_x509_cert_url": "test",
"universe_domain": "testm"
}