Skip to content

Commit

Permalink
cd: 배포 프로파일 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
kimday0326 committed Feb 21, 2024
1 parent 1b21438 commit 74f1cea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ COPY --from=builder application/application/ ./

# 애플리케이션 JAR 파일이 이미 압축이 해제 되었으므로, JarLauncher를 사용하여 애플리케이션을 시작
ENV TZ=Asia/Seoul
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-Dspring.profiles.active=dev", "org.springframework.boot.loader.JarLauncher"]
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "org.springframework.boot.loader.JarLauncher"]
16 changes: 12 additions & 4 deletions api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
#spring:
# profiles:
# group:
# "local": "db, security, secret, redis, kafka"
# "dev": "db, security, secret, redis, kafka"
# default: dev
#
#server:
# port: 8080

spring:
profiles:
group:
"local": "db, security, secret, redis, kafka"
"dev": "db, security, secret, redis, kafka"
default: local
include: db, security, secret, redis, kafka
active: dev

server:
port: 8080

0 comments on commit 74f1cea

Please sign in to comment.