feat(deploy): add teamhub-deploy manifest for server onboarding
deploy/teamhub-deploy.json describes LegacyHUB's deploy shape for the shared teamhub-deploy tool: docker-compose.prod.yml with --env-file .env.prod (canonical secret at /srv/legacyhub/legacyhub.env rendered to .env.prod), health /api/v1/health on 8050. Deploy-tooling only; no runtime change. Verified via teamhub-deploy WhatIf. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
29
deploy/teamhub-deploy.json
Normal file
29
deploy/teamhub-deploy.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"module": "legacyhub",
|
||||
"source": {
|
||||
"branch": "main",
|
||||
"remotes": {
|
||||
"origin": "https://github.com/GoodOneFather/LegacyHUB.git",
|
||||
"gitea": "https://git.nutshellag.com/Vadim_Malanov/LegacyHUB.git"
|
||||
}
|
||||
},
|
||||
"remote": {
|
||||
"ssh_host": "10.37.142.35",
|
||||
"ssh_user": "qmsadmin",
|
||||
"app_root": "/srv/legacyhub/LegacyHUB",
|
||||
"env_backup": "/srv/legacyhub/legacyhub.env",
|
||||
"ssh_key_env": "QMS_HUB_DEPLOY_SSH_KEY",
|
||||
"vpn_profile_env": "QMS_HUB_VPN_PROFILE"
|
||||
},
|
||||
"compose": {
|
||||
"subdir": ".",
|
||||
"files": ["docker-compose.prod.yml"],
|
||||
"env_file": ".env.prod",
|
||||
"env_render_target": ".env.prod"
|
||||
},
|
||||
"health": {
|
||||
"base_url": "http://10.37.142.35:8050",
|
||||
"endpoints": ["/api/v1/health"]
|
||||
},
|
||||
"post_deploy": []
|
||||
}
|
||||
Reference in New Issue
Block a user