본문 바로가기 메뉴 바로가기

Deve1oper

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Deve1oper

검색하기 폼
  • 분류 전체보기 (18)
    • Linux (2)
    • JAVA (0)
    • React & Vue (1)
    • Spring & Spring Boot (2)
    • AWS & DOCKER (6)
    • DATABASE (6)
    • AHK (0)
    • VBA (0)
    • Git (1)
  • 방명록

nginx (2)
Docker / Springboot + Nginx 빌드 후 Container에 올리기

기본 정보 - JAVA : amazoncorretto 11 버전 - 프로젝트 포트 : 9090 - Docker 설치 - Docker-compose 설치 (Docker, Docker-compose 설치는 https://deve1oper.tistory.com/6 "설치관련" 참고) + 프로젝트는 빌드된 상태로 jar파일이 있어야한다. => (P.1 , N.1, NP.1, N.2는 위 이미지에 해당되는 파일에 대한 번호) P.1 - Dockerfile (프로젝트 image) FROM amazoncorretto:11 EXPOSE 9090 COPY 프로젝트폴더/build/libs/프로젝트명-0.0.1-SNAPSHOT.jar 카피될파일.jar RUN chmod +x 카피될파일.jar ENTRYPOINT ["java..

AWS & DOCKER 2022. 5. 13. 12:33
AWS / NginX 설치하여 Spring boot URL 포트번호 없애기

0. 준비 및 기본정보 * 세팅상태 : https://deve1oper.tistory.com/4 포스팅참고 1. 준비 - NginX 설치하기 - AWS EC2 sudo amazon-linux-extras install -y nginx1 -> Amazon linux 기반이기 때문에 amazon-linux-extras 패키지를 지원해준다. 2. NginX 실행하기 - sudo service nginx start 2-1. NginX 기동 확인 - ps -ef | grep nginx 3. NginX URL 포트번호없애기 3-1. root 로그인 - sudo su - 3-2. nginx.conf 수정하기 - 경로 : etc/nginx/nginx.conf - vi nginx.conf - 해당 내용 추가 server..

AWS & DOCKER 2022. 5. 6. 18:44
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Spring Group
  • mysql oracle
  • Mybatis vs JPA
  • linux 포트중복
  • docker --context
  • aws git
  • Docker
  • 리눅스 메모리 캐시
  • aws build
  • oracle db
  • aws spring boot
  • docker context
  • 메모리 삭제
  • Spring Artifact
  • git gitignore
  • SQL Mapper
  • gitignore 적용안됨
  • gitignore 적용오류
  • colima docker
  • nginx
  • aws git pull
  • spring boot sh파일
  • mybatis
  • vue npm
  • aws
  • Linux caches
  • vue project
  • colima
  • Mapper namespcae
  • docker 명령어
more
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바