commit 59216a49625237778357ab8c23fb3929df4d3b47 Author: inca Date: Mon Jun 8 21:10:34 2026 +0900 onestudy: initial placeholder diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ad76a5 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# onestudy + +incaai 클러스터에 배포되는 서비스. 정적 사이트(HTML/CSS/JS). + +## 라이브 주소 +- https://onestudy.onebiohealth.co.kr +- https://onestudy.wonlab.co.kr + +## 노트북에서 배포(업데이트)하는 법 +```bash +git clone https://git.onebiohealth.co.kr/inca/onestudy.git +cd onestudy +# 파일 추가/수정 (index.html 등) +git add -A && git commit -m "update" && git push +``` +push하면 소스가 갱신되고, 배포는 다음 중 하나로 반영된다: +- (수동) 관리자가 `kubectl -n onestudy rollout restart deploy/onestudy` +- (자동) Gitea webhook/Actions 설정 시 push만으로 자동 반영 + +## 구조 +nginx 파드가 시작 시 이 repo를 clone해서 서비스한다 (레지스트리 불필요). +배포 매니페스트: `incaai:/home/inca/incaai/k8s/onestudy.yaml` diff --git a/index.html b/index.html new file mode 100644 index 0000000..4e3c51b --- /dev/null +++ b/index.html @@ -0,0 +1,32 @@ + + + + + + onestudy + + + +
+

onestudy ● live

+

이 페이지가 보이면 배포 파이프라인이 정상입니다.
+ incaai k3s에서 서비스되고, Let's Encrypt HTTPS가 자동 적용됐습니다.

+

실제 콘텐츠로 바꾸려면 노트북에서:

+

+ git clone https://git.onebiohealth.co.kr/inca/onestudy.git
+ # 파일 교체 후
+ git add -A && git commit -m update && git push +

+
Gitea → k3s(nginx) → Traefik + Let's Encrypt → onestudy.onebiohealth.co.kr
+
+ +