Skip to content

Commit 53ea22a

Browse files
committed
Deploy: 운영환경 배포 설정
1 parent f95426d commit 53ea22a

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

src/main/resources/swagger.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,19 @@ springdoc:
3535
path: /swagger/v3/api-docs
3636

3737
---
38-
spring.config.activate.on-profile: prod
39-
swagger.server.url: ${SWAGGER_SERVER_URL:http://localhost:8080}
38+
---
39+
spring.config.activate.on-profile: "prod"
40+
swagger.server.url: ${SWAGGER_SERVER_URL:http://localhost:8080}
41+
42+
springdoc:
43+
default-consumes-media-type: application/json;charset=UTF-8
44+
default-produces-media-type: application/json;charset=UTF-8
45+
swagger-ui:
46+
path: /swagger
47+
tags-sorter: alpha
48+
operations-sorter: method
49+
display-request-duration: true
50+
disable-swagger-default-url: true
51+
show-actuator: true
52+
api-docs:
53+
path: /swagger/v3/api-docs

taskflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
image: clap.kr-central-2.kcr.dev/taskflow/taskflow-server:${IMAGE_TAG}
4040
imagePullPolicy: Always
4141
command: [ "java", "-jar", "app.jar" ]
42-
args: [ "--spring.profiles.active=dev" ]
42+
args: [ "--spring.profiles.active=prod" ]
4343
env:
4444
- name: TZ
4545
value: "Asia/Seoul"

0 commit comments

Comments
 (0)