Skip to content

yjw2288/cancun-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bf3ceeb · Oct 13, 2016

History

5 Commits
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016
Oct 13, 2016

Repository files navigation

docker 실행방법
1. nginx 빌드
docker build --tag='cancun/nginx'  -f nginx/Dockerfile .
docker build --tag='cancun/app' .

2. nginx 이미지로 도커 실행
docker run -p 80:80 -d --name nginx nginx

3. nginx 쉘에 접근
docker exec -i -t nginx bash

* app 구동할 때 app에서 로컬 디비 연결될 수 있도록 설정
docker run -p 8080:8080 --net=host  -d --name app app

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published