File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: deploy-dev
22
33on :
44 push :
5- branches : [ develop ]
5+ branches : [ develop ]
66 workflow_dispatch :
77
88jobs :
6666 # app-dev 컨테이너만 재시작 (운영 컨테이너 app, caddy는 건드리지 않음)
6767 - name : Deploy Docker services (Dev)
6868 run : |
69- ssh prod 'cd /opt/app-dev && sudo docker compose -f docker-compose.yml up -d --build app-dev'
69+ ssh prod 'cd /opt/app-dev && sudo docker compose -p promptplace - f docker-compose.yml up -d --build app-dev'
Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- deploy :
9+ deploy :
1010 runs-on : ubuntu-latest
1111 permissions :
1212 contents : read
7171 ssh prod 'cd /opt/app-backup && sudo docker rm -f myapp || true && sudo docker rm -f caddy || true'
7272
7373 - name : Deploy Docker services
74- run : |
75- ssh prod 'cd /opt/app-backup && sudo docker compose -f docker-compose.yml up -d --build app caddy'
74+ run : |
75+ ssh prod 'cd /opt/app-backup && sudo docker compose -p promptplace - f docker-compose.yml up -d --build app caddy'
Original file line number Diff line number Diff line change 77 auto_https off
88}
99
10- http://promptplace.kro.kr {
10+ http://promptplace.kro.kr, http://promptplace.kr, http://www.promptplace.kr {
1111 encode zstd gzip
1212
1313 # 보안 헤더 (HSTS는 HTTPS 응답에서만 의미 있으므로 여기서는 생략 가능)
@@ -17,7 +17,7 @@ http://promptplace.kro.kr {
1717 }
1818
1919 # api-docs 요청을 앱으로 전달
20- handle /api-docs {
20+ handle /api-docs* {
2121 reverse_proxy app:3000
2222 }
2323
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ export const swaggerOptions = {
2121 } ,
2222 ] ,
2323 } ,
24- apis : [ 'src/**/*.ts' ] , // JSDoc이 있는 파일 경로
24+ apis : [ './ src/**/*.ts' , './dist/**/*.js' ] // JSDoc이 있는 파일 경로
2525} ;
You can’t perform that action at this time.
0 commit comments