소스 검색

Really fix connecting via ssh..

dennisro 6 년 전
부모
커밋
8ecfae7988
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      data/services/gitea/gitea.sh
  2. 2 2
      data/services/gogs/gogs.sh

+ 2 - 2
data/services/gitea/gitea.sh

@@ -128,7 +128,7 @@ configure() {
 	
 	SERVICE_DOMAIN=${SERVICE_DOMAIN}
 	GITEA_APP_NAME="${GITEA_APP_NAME}"
-	SSH_PORT="${SSH_PORT}"
+	SSH_PORT=${SSH_PORT}
 	
 	GITEA_REGISTER_CONFIRM=${GITEA_REGISTER_CONFIRM}
 	GITEA_MAIL_NOTIFY=${GITEA_MAIL_NOTIFY}
@@ -209,7 +209,7 @@ curl -k \
 &repo_root_path=/data/git/gitea-repositories\
 &run_user=git\
 &domain=${SERVICE_DOMAIN}\
-&ssh_port=22\
+&ssh_port=${SSH_PORT}\
 &http_port=3000\
 &app_url=https://${SERVICE_DOMAIN}\
 &log_root_path=/app/gitea/log\

+ 2 - 2
data/services/gogs/gogs.sh

@@ -128,7 +128,7 @@ configure() {
 	
 	SERVICE_DOMAIN=${SERVICE_DOMAIN}
 	GOGS_APP_NAME="${GOGS_APP_NAME}"
-	SSH_PORT="${SSH_PORT}"
+	SSH_PORT=${SSH_PORT}
 	
 	GOGS_REGISTER_CONFIRM=${GOGS_REGISTER_CONFIRM}
 	GOGS_MAIL_NOTIFY=${GOGS_MAIL_NOTIFY}
@@ -208,7 +208,7 @@ curl -k \
 &repo_root_path=/data/git/gogs-repositories\
 &run_user=git\
 &domain=${SERVICE_DOMAIN}\
-&ssh_port=22\
+&ssh_port=${SSH_PORT}\
 &http_port=3000\
 &app_url=https://${SERVICE_DOMAIN}\
 &log_root_path=/app/gogs/log\