nginx 구성에 맞게 변경
- 기본 board로 rhymix 추가
This commit is contained in:
@@ -10,13 +10,11 @@ Docker가 설치되지 않았다면 다음을 통해 설치합니다.
|
||||
|
||||
* POSIX - https://docs.docker.com/install/ 을 통해 Docker를, https://docs.docker.com/compose/install/ 를 통해 Docker-compose를 설치합니다.
|
||||
|
||||
* Windows 10 Pro 이상 - https://docs.docker.com/docker-for-windows/install/ 를 통해 Docker Desktop on Windows 를 설치합니다. 회원 가입을 원하지 않는다면, https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe 를 통해 설치합니다.
|
||||
* Windows 10 - https://docs.docker.com/docker-for-windows/install/ 를 통해 Docker Desktop on Windows 를 설치합니다. 회원 가입을 원하지 않는다면, https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe 를 통해 설치합니다.
|
||||
|
||||
> ⚠️**주의**: Docker Desktop on Windows는 Virtual Box, VMWare와 잘 호환되지 않는 것으로 알려져 있습니다.
|
||||
만약 Virtual Box나 Virtual Box를 이용하는 안드로이드 가상 머신을 이용할 경우 Docker Toolbox를 설치하십시오.
|
||||
|
||||
* Windows 7, Windows 10 Home - https://github.com/docker/toolbox/releases 를 통해 Docker Toolbox를 설치합니다. https://docs.docker.com/toolbox/toolbox_install_windows/ 에 설치 안내가 있습니다.
|
||||
|
||||
세가지 모두 `docker run hello-world` 와 `docker-compose --version` 명령이 동작하면 설치가 완료된 것입니다.
|
||||
|
||||
## 설치
|
||||
@@ -39,7 +37,7 @@ https://storage.hided.net/gogs/devsam/docker/archive/master.zip 링크를 통해
|
||||
- 이 주소를 이용하여 카카오 API의 로그인 Redirect URI를 설정해야 합니다. 주소가 https://sam.hided.net/sam 인 경우 https://sam.hided.net/sam/oauth_kakao/oauth.php 으로 입력합니다.
|
||||
- 포트 주소는 8080으로 지정되어있으며, 다른 포트로 바꾸고자 한다면 `hidche/docker-compose.yml`와 동일하게 유지해야 합니다.
|
||||
|
||||
>Windows 환경에서 적절한 텍스트 에디터를 찾지 못하였다면 메모장에 해당 파일들을 드래그하여 수정하거나, [Notepad++](https://notepad-plus-plus.org/download/v7.7.1.html)를 설치하여 수정하는 방법도 가능합니다.
|
||||
>Windows 환경에서 적절한 텍스트 에디터를 찾지 못하였다면 메모장에 해당 파일들을 드래그하여 수정하거나, [Notepad++](https://notepad-plus-plus.org/downloads/ )를 설치하여 수정하는 방법도 가능합니다.
|
||||
|
||||
### 고급 설정
|
||||
|
||||
@@ -47,6 +45,7 @@ https://storage.hided.net/gogs/devsam/docker/archive/master.zip 링크를 통해
|
||||
|
||||
- `hidche/docker-compose.yml` : 설치 옵션입니다.
|
||||
- `web/ports`: 8080 포트 대신 다른 포트를 선택하고자 할 경우 수정합니다. `hidche/game.env`의 내용도 변경해야합니다.
|
||||
- `build/args` : nginx/www-data의 UID와 GID를 변경할 수 있습니다. `web`, `app`, `board` 셋을 동시에 지정해야합니다.
|
||||
- `hidche/game.env`
|
||||
- `gameGitPath`, `imgGitPath`: 개발을 위해 다른 git repository를 사용해야한다면 수정합니다. ssh 주소인 경우 `hidche/app/id_ecdsa`와 `hidche/app/known_hosts` 또한 수정해야 합니다.
|
||||
- `HIDCHE_IMAGE_USE_INTERNAL`, `HIDCHE_IMAGE_PATH`는 CDN 등 외부 이미지 경로를 사용할 경우 수정합니다.
|
||||
@@ -60,6 +59,8 @@ https://storage.hided.net/gogs/devsam/docker/archive/master.zip 링크를 통해
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
총 5개의 컨테이너 `hidche_app_1`, `hidche_db_1`, `hidche_web_1`, `hidche_cron_1`, `hidche_install_1`가 실행되며, `hidche_install_1`는 설치후 종료됩니다.
|
||||
총 6개의 컨테이너 `hidche_app_1`, `hidche_board_1`,`hidche_db_1`, `hidche_web_1`, `hidche_cron_1`, `hidche_install_1`가 실행되며, `hidche_install_1`는 설치후 종료됩니다.
|
||||
|
||||
설치 후, 게임을 이용할 수 있습니다.
|
||||
설치 후, 게임을 이용할 수 있습니다.
|
||||
|
||||
게시판으로 Rhymix를 설치할 수 있도록 다운로드하며 설치 완료 된 주소에 `/board`를 붙여 게시판 설정을 마무리합니다.
|
||||
Reference in New Issue
Block a user