diff --git a/README.md b/README.md index 38ed961..ef793eb 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ https://storage.hided.net/gogs/devsam/docker/archive/master.zip 링크를 통해 - Password에 해당하는 항목들은 가급적 어렵게 지어주십시오. - 특히 `HIDCHE_PW_SALT`는 자동 설치 시 1회만 사용되므로 최대한 길고 어렵게 지어주십시오. - `HIDCHE_KAKAO_REST_KEY`, `HIDCHE_KAKAO_ADMIN_KEY`는 [KakaoTalk REST API](https://developers.kakao.com/docs/restapi/kakaotalk-api)를 통해 발급 받을 수 있습니다. 동의 항목으로는 카카오계정(이메일), 카카오톡 메시지 전송이 필요합니다. + - `HIDCHE_IMAGE_REQUEST_KEY`는 이미지 서비스용 git과 게임 git repository를 연동하기위한 키입니다. 특히 이미지 서비스가 다른 서버에서 실행될 때 유용합니다. 이 값이 지정되지 않은 경우 `image/hook/git_pull.php`을 PHP CLI를 통해 직접 실행해야만 합니다. - `hidche/game.env` : 게임 설치 정보 설정 공간입니다. 값 하나를 변경해야 합니다. - `HIDCHE_GAME_PATH` : 외부 유저가 접속할 수 있는 경로입니다. 공인 IP 주소나 도메인 주소를 사용한 주소로 꼭 변경해야합니다. 변경하지 않을 경우 설치는 되지만, 외부 유저가 이용할 수 없습니다. 명확한 이유가 있는게 아니라면 `/sam` 까지 붙여주십시오. - 이 주소를 이용하여 카카오 API의 로그인 Redirect URI를 설정해야 합니다. 주소가 https://sam.hided.net/sam 인 경우 https://sam.hided.net/sam/oauth_kakao/oauth.php 으로 입력합니다. diff --git a/hidche/app/Dockerfile b/hidche/app/Dockerfile index 53ab8b7..1fc9084 100644 --- a/hidche/app/Dockerfile +++ b/hidche/app/Dockerfile @@ -1,6 +1,8 @@ FROM php:7.3-fpm-buster #debian +ENV LC_ALL=C.UTF-8 + RUN apt -y update ;\ apt -y install \ bzip2 git rsync \ diff --git a/hidche/app/entrypoint_hidche_app.sh b/hidche/app/entrypoint_hidche_app.sh old mode 100755 new mode 100644 diff --git a/hidche/db/entrypoint_hidche_db.sh b/hidche/db/entrypoint_hidche_db.sh old mode 100755 new mode 100644 diff --git a/hidche/game.env b/hidche/game.env index 3a96593..cceec05 100644 --- a/hidche/game.env +++ b/hidche/game.env @@ -6,6 +6,7 @@ imgGitPath=ssh://git@storage.hided.net:2525/devsam/image.git #게임 시간대. TZ=Asia/Seoul +LC_ALL=C.UTF-8 #서버 리스트. 구현 문제로 아래 서버들로 현재 고정. Dockercompose 값 수정 불가. HIDCHE_SERVER_LIST=che,kwe,pwe,twe,nya,pya,hwe diff --git a/hidche/install/install_hidche.py b/hidche/install/install_hidche.py old mode 100755 new mode 100644