개인 프로젝트/블로그

react+springboot로 만든 나만의 블로그 배포 완료

공주맛밤 2022. 10. 3. 20:40

[간략 배포 과정]

  • aws에서 ec2생성 후 내 컴퓨터와 ec2에 도커 설치하기
  • 내 컴퓨터에서 프론트, 백엔드 빌드 후 이미지 만들어서 도커 허브에 push
  • ec2에서 이미지(mariadb, 프론트, 백) pull해서 container실행하기
  • 도메인 네임 서비스로 tastynut.blog로 등록하기

접속: www.tastynut.blog  

 

Tnut's blog

 

www.tastynut.blog

[참고한 사이트들]


ec2 xshell로 접속하기: https://itmoon.tistory.com/58

spring boot 이미지 만들기: https://ksr930.tistory.com/139

dockerhub 업로드 하기: https://onu0624.tistory.com/55

ubuntu에 docker 설치하기: https://mungiyo.tistory.com/11

react docker 이미지 만들기: https://hello-bryan.tistory.com/169

docker에서 springboot, mariadb 연결하기 : https://jake-seo-dev.tistory.com/118

docker에서 mariadb 접속하기 : https://dev-r.tistory.com/9

DNS 연결 : https://artiiicy.tistory.com/18 (조금 시간을 가지고 기다려 봐야함)


[애먹은 부분]

  • oauth2로그인 redirect-uri을 추가해 줘야함(당연한건데 몰랐다..)
728x90
반응형