강의

멘토링

로드맵

Inflearn Community Q&A

sunghyeon863031's profile image
sunghyeon863031

asked

Learning Docker and CI Environments by Following Along [Updated 2023.11]

Creating a Dockerfile for a React App

backend폴더에서 작성한 default.conf랑 nginx폴더에서 작성한 default.conf에 대 질문있습니다.

Resolved

Written on

·

495

0

frontend폴더에서 작성한 default.conf랑 nginx폴더에서 작성한 default.conf에 대 질문있습니다.

두 파일 모두 /etc/nginx/conf.d/default.conf에 copy 하고 있던데 이 경우에는 한 파일로 overwriting 되나요?

awsgithubdockercicdtravis-ci데이터 엔지니어링

Quiz

74% of people got it wrong. Give it a try!

섹션 8-9에서 다루는 애플리케이션 구조의 주요 특징은 무엇일까요?

단일 서버에서 모든 기능 실행

여러 컴포넌트가 독립적인 컨테이너로 구성

클라이언트 측에서만 모든 로직 처리

데이터베이스 없이 파일로 데이터 관리

Answer 4

0

sunghyeon863031님의 프로필 이미지
sunghyeon863031
Questioner

아!!! 컨테이너마다 다른 공간이 생기는 군요! 알려주셔서 감사합니다 :)

0

John Ahn님의 프로필 이미지
John Ahn
Instructor

아 배성현님   현재  frontend에서 사용되어지는 nginx는  frontend 컨테이너 안에 /etc/neignx/conf.d/default.conf에 복사가 되며   
nginx폴더안에 있는건  nginx 컨테이너 안에 /etc/neignx/conf.d/default.conf 에 복사가 됩니다 ! 
그러기에 경로가 같아도 다른 컨테이너 안에 복사가 됩니다 ^^ 

0

sunghyeon863031님의 프로필 이미지
sunghyeon863031
Questioner

frontend 폴더입니다!! frontend에서도 nginx 설정하면서 만든어졌던 같습니다

0

John Ahn님의 프로필 이미지
John Ahn
Instructor

안녕하세요 배성현님~

혹시 backend 폴더에서 작성한 defualt.conf가 있었나요 ~ ? 

sunghyeon863031's profile image
sunghyeon863031

asked

Ask a question