diff --git a/.github/ISSUE_TEMPLATE/issue-template.md b/.github/ISSUE_TEMPLATE/issue-template.md new file mode 100644 index 00000000..d600ff40 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-template.md @@ -0,0 +1,19 @@ +--- +name: issue-template +about: Describe this issue template's purpose here. +title: "[BE] Feat: 구현할 유저스토리 내용" +labels: '' +assignees: '' + +--- + +## ✒ Description + + + +## ✅ Todo +- [ ] 구현 내용 1 +- [ ] 구현 내용 2 + +## 📚 Etc + diff --git a/backEnd/Dockerfile b/backEnd/Dockerfile index 88881e5a..e260448b 100644 --- a/backEnd/Dockerfile +++ b/backEnd/Dockerfile @@ -6,11 +6,11 @@ RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && echo Asia/Seoul > / # build가 되는 시점에 JAR_FILE이라는 변수 명에 build/libs/*.jar 선언 # build/libs - gradle로 빌드했을 때 jar 파일이 생성되는 경로 -ARG JAR_FILE=build/libs/ulvan-0.0.1-SNAPSHOT.jar +ARG JAR_FILE=build/libs/ourClass-0.0.1-SNAPSHOT.jar # JAR_FILE을 agaproject.jar로 복사 -COPY ${JAR_FILE} ulvan.jar +COPY ${JAR_FILE} ourClass.jar # 운영 및 개발에서 사용되는 환경 설정을 분리 # -Duser.timezone=Asia/Seoul JVM 옵션을 사용하여 애플리케이션 수준에서도 타임존을 설정 -ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev", "-Duser.timezone=Asia/Seoul", "/finfarm.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev", "-Duser.timezone=Asia/Seoul", "/ourClass.jar"] \ No newline at end of file diff --git a/backEnd/build.gradle b/backEnd/build.gradle index d1d3922d..d7274b4f 100644 --- a/backEnd/build.gradle +++ b/backEnd/build.gradle @@ -36,4 +36,5 @@ dependencies { tasks.named('test') { useJUnitPlatform() + systemProperty 'jasypt.encryptor.key', findProperty("jasypt.encryptor.key") } diff --git a/backEnd/src/main/java/com/quiz/ourClass/global/server/HealthCheckController.java b/backEnd/src/main/java/com/quiz/ourClass/global/server/HealthCheckController.java new file mode 100644 index 00000000..4160706d --- /dev/null +++ b/backEnd/src/main/java/com/quiz/ourClass/global/server/HealthCheckController.java @@ -0,0 +1,13 @@ +package com.quiz.ourClass.global.server; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class HealthCheckController { + + @GetMapping("/health-check") + public String healthCheck() { + return "OK"; + } +}