제목 그대로 맛보기 입니다. 실무에선 AWS 환경에 CI/CD 도구도 고려하지만.. 저는 Docker container 위에서 Nginx를 로드 밸런서로 사용하고 뒷 단에 Express를 활용해…
맛보기
AWS
CI/CD
로드 밸런서
본 포스팅에서는 Nginx, Express를 docker-compose 와 express-generator를 활용하여 구축하도록 하겠습니다.
Nginx
Express
docker-compose
express-generator
최근에 위와 같은 구조로 react를 docker-compose로 구성할 일이 있었습니다. 또 언젠가 쓸 일이 있을테니 정리하도록 하겠습니다. (docker-compose는 알고…
react
react를 docker-compose로 구성하기 라는 글을 준비하고 있는데 갑자기.. 예전에 문제 없던 react container가 죽더군요. container의 로그를 보면 아래와…
react를 docker-compose로 구성하기
docker-compose를 이용해 React App을 container로 올렸습니다. 헌데 VSCode로 소스를 수정하면 container 내부의 소스는 수정 되지만…
가끔씩 필요할 때 찾아 쓰고 한참 뒤에 잊어버려서 다시 찾는 일이 반복되어 정리합니다. docker-compose 에서 cache 없이 새로 설치하는 명령어는 아래와 같습니다.
한참 뒤에 잊어버려서 다시 찾는 일이 반복
docker-compose build --no-cache
결론 먼저 이야기하면
stop: container를 정지함down: container와 networks를 정지 및 삭제한다.
사실 제가 구축한건 아래 그림에서 php-fpm에 laravel을 추가적으로 설치했습니다. 다만 아래 구조를 이미 포스팅을 해버려서 이번 포스팅에서는 dockerfile로 laravel을 어떻게 설치했는지와…
이 포스팅에서 docker compose를 이용하여 위와 같은 구조를 만들겠습니다. 내부에 Docker로 3개의 컨테이너를 올립니다. 각각…
여러 container를 한 번에 실행할 수 있는 docker-compose에 대해 소개합니다. docker와 기본적인 명령어들은 알고 있다고 가정합니다.