오늘 할 일

  1. EC2
    1. Docker 설치
    2. SSL 적용
    3. 접근 방법 정리하기
    4. 배포 적용(특정 branch에 대해 Hook 걸기)

규칙

  1. Merge Request는 본인이 직접 Merge 하기.
  2. Merge 되면 remote branch 지우기.
    1. 본인이 생성한 remote branch 확인하는 방법
    2. 프로젝트 overview 페이지 → Branches 확인 → 본인이 생성한 branch 점세개 눌러서 delete 하기
  3. rule을 잘 적용하기. 불편한 점이 있으면 템플릿 화 할수 있게 알려주기

SSL 인증서 발급 완료

ubuntu@ip-172-26-10-54:/var/lib$ sudo certbot certonly --standalone -d i10a802.p.ssafy.io
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for i10a802.p.ssafy.io
Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/i10a802.p.ssafy.io/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/i10a802.p.ssafy.io/privkey.pem
   Your cert will expire on 2024-04-20. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le
  1. Docker Compose로 컨테이너 띄우기
    1. Docker Compose로 컨테이너 띄우기 위한 스크립트 작성
      1. Server Container
      2. Front-end Container
      3. Jenkins Container
      4. OpenVidu Container

할 일을 나누자면?

  1. Docker Compose로 배포 환경 구축
    1. 컨테이너 생성 스크립트 작성하기
    2. 컨테이너 관리
      1. 우선, 각 역할을 위한 컨테이너 생성 법 먼저 해야함.
    3. openvidu 올리기
  2. 젠킨스 파이프라인 작성하기
    1. Jenkins 훅 걸기
    2. 컨테이너로 배포 방법 찾아보기