Some checks failed
deploy-wise / deploy (push) Failing after 11s
웹서버(175.118.124.176)의 Gitea 러너가 JDK8 로 WAR 을 빌드해 WAS(27.255.76.2)의 Tomcat·MariaDB 컨테이너로 배포한다. WAS 는 웹서버를 통해서만 닿고, Tomcat 은 127.0.0.1 바인딩이라 웹서버가 SSH 터널로 잇는다. - WAS 는 가용 메모리가 3G 안팎(llama-server 200G+ 점유)이라 빌드를 웹서버에서 한다 - claudeops 가 sudo 를 쓸 수 없어 Tomcat·MariaDB 를 컨테이너로 올렸다 - 배포 스크립트를 매 실행마다 저장소본으로 덮어써 서버 사본 드리프트를 막는다 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21 lines
682 B
Desktop File
21 lines
682 B
Desktop File
# arko 전용 Gitea Actions 러너 — /etc/systemd/system/arko-runner.service
|
|
# 라벨 arko-web:host 로 .gitea/workflows/deploy-wise.yml 을 받는다.
|
|
[Unit]
|
|
Description=Gitea Actions runner (arko / csv.wise.ai.kr)
|
|
After=network-online.target gitea.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/arko-runner
|
|
# nginx/Apache 를 거치지 않고 Gitea 에 직결한다(127.0.0.1:9003).
|
|
ExecStart=/opt/arko-runner/act_runner daemon --config /opt/arko-runner/config.yaml
|
|
Environment=HOME=/root
|
|
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|