Skip to content

Commit

Permalink
Merge pull request #156 from ODOICHON/dev
Browse files Browse the repository at this point in the history
�Feat: cloud watch
  • Loading branch information
YoonTaeMinnnn authored May 18, 2023
2 parents ff55481 + 45a73c4 commit c1e1a2f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
echo "${{ secrets.PROPERTIES_SECRET }}" > ./application-secret.yml
shell: bash

#로그 xml 파일 설정
- name: Make logback-spring.xml
run: |
cd ./src/main/resources
touch ./logback-spring.xml
echo "${{ secrets.LOGBACK_SPRING }}" > ./logback-spring.xml
shell: bash



Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ server:
servlet:
session:
tracking-modes: cookie
#logging:
# config: classpath:logback-spring.xml
8 changes: 5 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spring:
hibernate:
metadata_builder_contributor: com.example.jhouse_server.global.util.SqlFunctionsMetadataBuilderContributor
default_batch_fetch_size: 100
# show_sql: true
# format_sql: true
# database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
show_sql: true
format_sql: true
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect

datasource:
url: ENC(XxBf/3kChMwGNU8+3ch/K9QXB4sRQ+WcSc94MOQqvBHS9lE9gYOA482/JSp4VvsrgQKMV8FLwZeFgGyMFk36B9cNJtFOKFr7hJ0Fowlk/QYjrW0dWJXsVg==)
Expand Down Expand Up @@ -55,4 +55,6 @@ server:
session:
tracking-modes: cookie

#logging:
# config: classpath:logback-spring.xml

0 comments on commit c1e1a2f

Please sign in to comment.