[간략 배포 과정]
- aws에서 ec2생성 후 내 컴퓨터와 ec2에 도커 설치하기
- 내 컴퓨터에서 프론트, 백엔드 빌드 후 이미지 만들어서 도커 허브에 push
- ec2에서 이미지(mariadb, 프론트, 백) pull해서 container실행하기
- 도메인 네임 서비스로 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
반응형
'개인 프로젝트 > 블로그' 카테고리의 다른 글
개인 프로젝트 1차 완성(React, spring boot) (0) | 2022.09.23 |
---|---|
나만의 블로그 만들기 깃허브 주소 (0) | 2022.08.05 |
댓글에 유저 정보를 담아보자 2 (0) | 2022.08.02 |
댓글에 유저 정보를 담아보자 feat.@AuthenticationPrincipal (0) | 2022.08.02 |
네이버 카카오 Oauth2.0 로그인 구현 (0) | 2022.08.01 |