From df9f926f73fee3f2d7a4d595a3b1eb53678a18af Mon Sep 17 00:00:00 2001 From: GoodOneFather Date: Fri, 10 Jul 2026 08:58:04 +0300 Subject: [PATCH] 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 --- deploy/teamhub-deploy.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 deploy/teamhub-deploy.json diff --git a/deploy/teamhub-deploy.json b/deploy/teamhub-deploy.json new file mode 100644 index 0000000..d1e9083 --- /dev/null +++ b/deploy/teamhub-deploy.json @@ -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": [] +}