-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 로컬 스토리지 서비스로 변경 * refactor: docker 이미지 cpu 아키텍처 변경 * chore: ci/cd 스크립트 변경 * chore: 인프라 환경 변경 (ssl, 로컬 이미지서버 업로드) * style: eol 제거 * fix: 설정 오류 해결 * chore: local health-check를 위해 80포트 활성화 * chore: local 헬스 체크를 위해 도커에 로컬 80포트 활성화 * fix: 호스트명 다시 변경 * fix: nginx 설정 변경 * chore: nginx 이미지서버 설정 변경 * refactor: 저장 로직 분리 * chore: ssl을 로드벨런서가 처리하도록 변경 * chore: 이미지 경로 환경별로 다르게 변경 * chore: dev.default.conf 추가 * chore: ci/cd dev.default.conf 설정 분리 * fix: 테스트 프로파일을 추가하여 테스트 깨짐 수정 * style: 개행추가 * chore: image dev 경로 변경 * refactor: default 이미지 Url 변경 * chore: 브랜치 변경으로 인한 ci/cd 트리거 브랜치 수정 * chore: 브랜치 변경으로 인한 ci/cd 트리거 브랜치 수정
- Loading branch information
Showing
16 changed files
with
110 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM --platform=linux/arm64 amazoncorretto:17 | ||
FROM --platform=linux/amd64 amazoncorretto:17 | ||
|
||
ENV TZ=Asia/Seoul | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
upstream active_server { | ||
server chongdae_backend:8080; | ||
server chongdae_backend:8080; | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name chongdae.site; | ||
|
||
location / { | ||
proxy_pass http://active_server; | ||
proxy_pass http://active_server; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name image.chongdae.site; | ||
|
||
root /uploads; | ||
|
||
location / { | ||
try_files $uri $uri/ =404; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
upstream active_server { | ||
server chongdae_backend:8080; | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name dev.chongdae.site; | ||
|
||
location / { | ||
proxy_pass http://active_server; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name image.dev.chongdae.site; | ||
|
||
root /uploads; | ||
|
||
location / { | ||
try_files $uri $uri/ =404; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters