Skip to content

Commit

Permalink
add: (#106) application-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Oct 12, 2022
1 parent 59b8b3c commit 9725556
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions simtong-infrastructure/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
spring:
datasource:
url: jdbc:mysql://${DB_URL:localhost}:3306/${DB_NAME:simtong}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true
username: ${MYSQL_USERNAME}
password: ${MYSQL_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true
show_sql: true
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
open-in-view: false

redis:
port: 6379
host: localhost

cloud:
aws:
credentials:
access-key: ${AWS_ACCESS}
secret-key: ${AWS_SECRET}
region:
static: ${AWS_REGION:ap-northeast-2}
auto: false
stack:
auto: false
s3:
bucket: ${BUCKET_NAME:simtong}
ses:
source: ${SES_SENDER}

0 comments on commit 9725556

Please sign in to comment.