본문 바로가기

MEMO

검색하기
MEMO
프로필사진 by_dev

  • 분류 전체보기 (18)
    • AWS (4)
    • Docker (6)
    • MySQL (2)
    • 알고리즘 (2)
    • 기타 (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • 도커
  • MongoDB
  • 프로그래머스
  • Elasticsearch
  • Jenkins port 변경
  • Jenkins설치
  • springboot
  • git
  • mysql
  • MongoDB설치 및 환경설정
  • FIRST원칙
  • Springboot+Docker 초기설정
  • 도커예제
  • Jenkins
  • 알고리즘
  • 자바
  • MySQL 인덱스
  • F.I.R.S.T
  • mysql index
  • Docker설치
  • 북노트
  • CleanCode
  • Nginx
  • 데이터볼륨
  • Docker기본개념
  • Docker-compose
  • elk
  • docker
  • Expo #SpringBoot #네아로
  • 도커실행
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Springboot+Docker 초기설정 (1)

MEMO

Springboot + nginx 를 Docker 를 이용해 배포하기

Springboot 를 Docker 를 이용해 배포하기 기본적인 Springboot 프로젝트를 만들어 image 로 생성해보기 위해 새로운 Springboot 프로젝트를 생성하였다. 기본 Springboot 프로젝트 설정에 다음과 같이 접속 확인을 위한 String 출력 소스만 추가하였다. //프로젝트 구조 . - Dockerfile - pom.xml - src L main L java L by.example.docker L DockerApplication.java ... 이하 생략 DockerAppication.java 에는 다음과 같이 RequestMapping 만 추가하였다. package by.example.docker; import org.springframework.boot.SpringAppl..

Docker 2019. 12. 4. 17:33
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바