Skip to content

Commit

Permalink
Chore : 환경변수 설정 makeFiles.config 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonda02 committed Aug 14, 2024
1 parent b9b7402 commit 86596ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ebextensions-dev/00-makeFiles.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ files:

# run app
killalljava
java -Dfile.encoding=UTF-8 -jar $JAR_PATH
java -Dfile.encoding=UTF-8 -Dspring.profiles.active=dev -jar $JAR_PATH
1 change: 1 addition & 0 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ jobs:
version_label: github-action-${{ steps.current-time.outputs.formattedTime }}
region: ap-northeast-2
deployment_package: deploy/deploy.zip
# environment_variables: "SPRING_PROFILES_ACTIVE=dev"
wait_for_deployment: false
11 changes: 7 additions & 4 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://release-umc.c1w882c2qqby.ap-northeast-2.rds.amazonaws.com:3306/umc?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=UTF-8
username:
password:
url: ${AWS_DB_URL}
username: ${AWS_DB_USERNAME}
password: ${AWS_DB_PASSWORD}

jpa:
hibernate:
ddl-auto: create
ddl-auto: create



0 comments on commit 86596ca

Please sign in to comment.