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

[feat] redis 의존성 추가 및 유저의 대학교 설정 정보 저장 및 조회 api 생성 #40

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

Parkjyun
Copy link
Contributor

Related Issue 📌

close #37

Description ✔️

  • deploy.sh 내에
# Redis 상태 체크 및 docker-compose 실행
redis_status=$(echo $response | jq -r '.components.redis.status')
if [ "$redis_status" == "DOWN" ]; then
    echo "> Redis 상태가 DOWN입니다. docker-compose up -d 실행"
    docker-compose up -d
fi

추가하여 redis가 다운일때만 docker-compose up -d 실행하도록 했습니다.

  • ec2 루트 디렉토리에 docker-compose.yml 추가
services:
  redis:
    container_name: redis
    image: redis:alpine
    hostname: redis
    ports:
      - "6379:6379"
    networks:
      - wascomposenet
  networks:
    wascomposenet:
      external: true
  • docker network create wascomposenet 실행하여
    Docker에서 사용자 정의 네트워크를 생성
    wascomposenet을 사용해 컨테이너 간의 통신 가능하게 함

To Reviewers

@Parkjyun Parkjyun self-assigned this Jul 10, 2024
@Parkjyun Parkjyun merged commit 4e3c96c into develop Jul 10, 2024
1 check passed
kgy1008 pushed a commit that referenced this pull request Jul 10, 2024
* [dependency] add redis dependency

* [feat] create redis hash

* [feat] create errorcode for user's university update

* [feat] create redis repository for UserUniversity

* [feat] create helper class for UserUniversity

* [feat] create post user's university api

* [feat] create get user's university api
@kgy1008 kgy1008 deleted the feat/37 branch December 2, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 사용자 대학교 설정 정보 조회 및 변경 api 생성
1 participant