본문으로 건너뛰기

pm2-deploy.dongholab.com

Mac mini PM2 서비스 배포를 실행하는 token-protected Deploy API 도메인입니다.

Runtime

항목
PM2 app namedeploy-api
Internal bind127.0.0.1:3300
Status repo path/Users/dongho/macmini-deploy-status
Runtime env file/Users/dongho/.config/pm2-multi-service-starter/deploy-api.env
DBPostgreSQL pm2_deploy
Tabledeploy_runs

Caddy route

pm2-deploy.dongholab.com {
reverse_proxy 127.0.0.1:3300
}

API paths

MethodPathPurpose
GET/healthDeploy API health check
GET/servicesConfigured deployable services
POST/deploy/<service>Trigger deployment for one service

Authentication

Deploy trigger requests require one of these headers:

Authorization: Bearer <DEPLOY_TOKEN>
x-deploy-token: <DEPLOY_TOKEN>

Actual token values must stay out of this repository.