Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-compose traefik 붙이기 #94

Closed
1 task
rdd9223 opened this issue Dec 6, 2023 · 0 comments · Fixed by #103
Closed
1 task

Docker-compose traefik 붙이기 #94

rdd9223 opened this issue Dec 6, 2023 · 0 comments · Fixed by #103
Assignees
Labels
🎁 feature 새로운 기능

Comments

@rdd9223
Copy link
Contributor

rdd9223 commented Dec 6, 2023

🚀 About Issue 🚀

  • Docker-compose 환경에서 사용할 traefik 붙이기

✅ Todo

  • docker-compose.yml파일에 traefik 선언하기
@rdd9223 rdd9223 added the 🎁 feature 새로운 기능 label Dec 6, 2023
@rdd9223 rdd9223 self-assigned this Dec 6, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- 겹치는 swagger 8080포트와 분리하기 위함
rdd9223 added a commit that referenced this issue Dec 9, 2023
- traefik 대신 caddy 적용
- 각 endpoint 별 리버스프록시 적용
- swagger 통합 적용
rdd9223 added a commit that referenced this issue Dec 9, 2023
- cors 에러때문에 http 요청이 default지만 https로 요청하도록 변경
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- 겹치는 swagger 8080포트와 분리하기 위함
rdd9223 added a commit that referenced this issue Dec 9, 2023
- traefik 대신 caddy 적용
- 각 endpoint 별 리버스프록시 적용
- swagger 통합 적용
rdd9223 added a commit that referenced this issue Dec 9, 2023
- cors 에러때문에 http 요청이 default지만 https로 요청하도록 변경
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- 겹치는 swagger 8080포트와 분리하기 위함
rdd9223 added a commit that referenced this issue Dec 9, 2023
- traefik 대신 caddy 적용
- 각 endpoint 별 리버스프록시 적용
- swagger 통합 적용
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- `docker-compose -f docker-compose.yml -f docker-compose.{환경}.yml up -d --build` 명령어로 배포 가능
- 우선 local/dev/prod 환경만 세팅
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- 겹치는 swagger 8080포트와 분리하기 위함
rdd9223 added a commit that referenced this issue Dec 9, 2023
- traefik 대신 caddy 적용
- 각 endpoint 별 리버스프록시 적용
- swagger 통합 적용
rdd9223 added a commit that referenced this issue Dec 9, 2023
- cors 에러때문에 http 요청이 default지만 https로 요청하도록 변경
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
rdd9223 added a commit that referenced this issue Dec 9, 2023
- `docker-compose -f docker-compose.yml -f docker-compose.{환경}.yml up -d --build` 명령어로 배포 가능
- 우선 local/dev/prod 환경만 세팅
rdd9223 added a commit that referenced this issue Dec 9, 2023
yeseul106 added a commit that referenced this issue Mar 22, 2024
* [#39] env: 스프링 초기 프로젝트 생성

* [#39] env: 스프링 최신버전으로 라이브러리 업데이트

* [#39] docs: 스프링 swagger 라이브러리 적용

* [#39] Spring-헬스체크 API 구현

- localhost:3000에 있는 Nodejs의 헬스체크를 그대로 호출한다.

* [#39] Spring-Dockerfile 설정

- 이미지최적화는 다음에...

* [#39] Nestjs - 라이브러리 종속 환경 변경 및 업데이트

- `aws-sdk`라이브러리가 deprecated되었으므로 `@aws-sdk/client-s3` 라이브러리로 변경해야 함

* [#39] Spring - Nestjs health check response 변경

- dto 변경
- container환경에서의 domain 변경

* [#39] Docker compose 파일 생성

* [#86] spring 서버 환경 세팅

* [#86] DTO 및 컨트롤러 클래스 생성자 전략 리팩토링

* [#86] spring data jpa 관련 의존성 추가

* [#86] Http Status code에 따른 예외 처리 추가

* [#86] 공통 response 객체 추가

* [#86] JpaAuditing 관련 config 파일 추가

* [#86] 현재 DB 컬렴명에 맞게 PhysicalNamingStrategyStandardImpl로 물리적 명명 전략 바꾸기

* [#86] 기존 nest.js를 기준으로 엔티티 마이그레이션

* [#86] 대략적인 apiResponse 객체 구조 수정

* [#86] 불필요한 엔터 공백 제거

* [#88] env: [Spring] 패키지간 import 문제 해결

* add: pull request template 추가

* add: bug issue template 추가

* add: feature issue template 추가

* [#91] feat: [모임] 전체 모임의 게시글을 조회하도록 변경 및 모임 정보도 함께 추가

* [#89] chore: 불필요한 import문 삭제

* [#89] config: hibernate-types 사용을 위해 의존성 추가

* [#89] fix: hibernate 6에 맞춰서 PhysicalNamingStrategyStandardImpl 네이밍 전략이 되도록 수정

* [#89] rename: 공통 응답 모델 클래스명 수정

* [#89] feat: 내가 속한 모임 리스트 조회 api 구현

* [#89] add: Spring Security 세팅

* [#89] add: Swagger 관련 config 추가

* [#89] fix: security를 붙임에 따라 jwt 토큰 유저의 데이터를 내려주도록 수정

* [#89] fix: 불필요한 코드 제거 및 jwt 관련 세팅 정리

* [#96] fix: 모임 이미지 필드명 통일

* [#95] add : 모임의 정보중 모임 소개 데이터 필드 추가

* [#99] fix: CORS 관련 config 추가

* [#101] fix: swagger에서 Authorize 정상 작동하도록 수정

* [#101] fix: deprecated된 security cors 설정 코드 수정

* [#101] add: cors allow origin dev 환경 url 추가

* [#101] add: cors allow origin dev 환경 url 추가

* [#94] fix: docker-compose 빌드시 datasource error 삭제

* [#94] env: traefik 붙이기

* [#94] env: spring port 변경

- 겹치는 swagger 8080포트와 분리하기 위함

* [#94] env: caddy 적용

- traefik 대신 caddy 적용
- 각 endpoint 별 리버스프록시 적용
- swagger 통합 적용

* [#94] docs: spring swagger 요청시 https로 요청하게 변경

- cors 에러때문에 http 요청이 default지만 https로 요청하도록 변경

* [#94] env: dev환경 도메인 적용

* [#94] env: nestjs 빌드중 메모리 누수로 인한 임시조치

* [#94] env: nestjs 빌드중 메모리 누수로 인한 임시조치2

- 2GB로 임시조정

* [#94] env: nestjs 빌드중 메모리 누수로 인한 임시조치3

- 명령어 수정

* [#94] env: dev환경 배포를 위한 컨테이너 포트 임시 개방

* [#94] env: dev환경 배포를 위한 swagger url 임시 변경

* Revert "[#94] env: dev환경 배포를 위한 컨테이너 포트 임시 개방"

This reverts commit 8cecaa0.

* Revert "[#94] env: dev환경 배포를 위한 swagger url 임시 변경"

This reverts commit 4de15f6.

* [#94] env: vscode 디렉토리 git ignore 추가

* [#94] env: 환경별 docker-compose 파일 생성

- `docker-compose -f docker-compose.yml -f docker-compose.{환경}.yml up -d --build` 명령어로 배포 가능
- 우선 local/dev/prod 환경만 세팅

* [#94] env: 로깅 주기 추가

* [#94] docs: 배포 관련 README 내용 업데이트

* [#104] v1.0.0

* [#107] env: spring Prod 환경변수 추가

* [#109] v1.0.1

* [#111] fix: spring Prod swagger 변경

* [#112] v1.0.2

* [ADD] #122 페이지네이션 관련 파일 추가

* [FEAT] #122 플레이그라운드 내 마이페이지 모임 영역 데이터 조회 api 개발

* [FIX] #122 user repository에 누락된 조회 쿼리 코드 추가

* env: 라우팅 규칙 변경

* env: 라우팅 규칙 변경2

* env: 라우팅 규칙 변경3

* env: 라우팅 규칙 변경4

* env: 라우팅 규칙 변경5

* env: 라우팅 규칙 변경6

* env: 사용하지 않는 도메인 제거

* env: 라우팅 규칙 변경 7

* [#119] feat: 모임 게시글 작성 API 마이그레이션

* [#119] feat: 내가 속한 모임에 피드글이 생성될 때 알림 구축

* [#119] chore: 내 모임에 새로운 피드 생성될 때 알림 타이틀 변경

* [#119] rename: 알림 서버 통신 관련 패키지명 수정

* [#119] chore: JavaDoc 문법으로 주석 수정

* [#119] refactor: 푸시 알림 관련 상수값 enum으로 선언

* [#125] feat: 모임 홈 개선 - 모임 둘러보기 API 개발

* [#125] feat: 모임 홈 개선 - 모임 둘러보기 API 응답에서 불필요 필드 제거

* [FEAT] 깃허브 액션 워크 플로우 작성

* [DEL] 사용하지 않는 파일 삭제

* [FEAT] 도커 컴포즈 파일 blue-green 컨테이너에 맞게 수정

* [FEAT] deploy.sh 추가

* [FIX] 오타수정

* [ADD] healthcheck 추가

* [DEL] deploy.sh 삭제

* [ADD] aws 접근 플로우 추가

* [CHORE] dev-CD.yml 파일 권한 부여 명령어 추가

* [FIX]

* [FIX] spring, nestjs 이미지에 태그 추가

* [CHORE] docker 파일 수정

* [CHORE] dockerfile 수정

* Revert "[CHORE] dockerfile 수정"

This reverts commit 52ca03c.

* Revert "[CHORE] docker 파일 수정"

This reverts commit c794feb.

* Revert "[FIX] spring, nestjs 이미지에 태그 추가"

This reverts commit 68355a6.

* Revert "[FIX]"

This reverts commit 98aef21.

* Revert "[CHORE] dev-CD.yml 파일 권한 부여 명령어 추가"

This reverts commit 1f88154.

* Revert "[ADD] aws 접근 플로우 추가"

This reverts commit c794177.

* Revert "[DEL] deploy.sh 삭제"

This reverts commit c4dbcf4.

* Revert "[ADD] healthcheck 추가"

This reverts commit 7b8adba.

* Revert "[FIX] 오타수정"

This reverts commit 4856198.

* Revert "[FEAT] deploy.sh 추가"

This reverts commit 47a9d34.

* Revert "[FEAT] 도커 컴포즈 파일 blue-green 컨테이너에 맞게 수정"

This reverts commit 6ccbcdd.

* Revert "[DEL] 사용하지 않는 파일 삭제"

This reverts commit 23cd1f1.

* Revert "[FEAT] 깃허브 액션 워크 플로우 작성"

This reverts commit 3ae9dfd.

* [REVERT] 이전 커밋으로 롤백

* [FIX] 내가 속한 모임 조회 API, 401 에러 해결

* [CHORE] 활동기수 변경

* [FIX] 플그 마이페이지 내 모임 조회 API, 204 status code 시 성공 response body로 내려가도록 수정

---------

Co-authored-by: YeongWoooo <rdd9223@gmail.com>
Co-authored-by: mikekks <thdalsrb79@naver.com>
Co-authored-by: Mingyu Song <100754581+mikekks@users.noreply.github.com>
Co-authored-by: JiHwan <62228195+sgh002400@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎁 feature 새로운 기능
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant