1
0
mirror of git://f0xx.org/ac/ac-deploy synced 2026-07-29 05:00:35 +03:00

Cluster deploy: ac/* only, hub assets, auth routes at project root.

Remove monolith clone path; add hub deploy, legacy purge, composed-backend
login/logout nginx locations, and full hub asset rsync validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyev
2026-06-24 22:53:38 +02:00
committed by Anton Afanasyeu
parent 76d4797cac
commit b47f91b1ab
10 changed files with 156 additions and 138 deletions

View File

@@ -23,17 +23,16 @@ ARTC0_IP=10.7.16.128
SSH_USER=ai
GIT_ORIGIN=git://f0xx.org/android_cast
GIT_BRANCH=next
# git | bundle — bundle uses SHARED_MOUNT/cluster/release/current/
APP_SOURCE=git
# ac/* org (SPEC migration — git server SoT; Gitea browse only, not required for deploy)
# ── Source of truth: git://f0xx.org/ac/* ONLY ─────────────────────────────
# Do NOT clone git://f0xx.org/android_cast on cluster nodes (frozen monolith).
AC_GIT_BASE=git://f0xx.org/ac
AC_WORKSPACE_ORIGIN=git://f0xx.org/ac/ac-workspace
AC_WORKSPACE_ROOT=/var/www/ac/workspace
AC_GIT_BRANCH=next
# Minimal submodules for first workspace init (fast path)
AC_SUBMODULES_CORE="ac-platform-db ac-platform-php ac-platform-web ac-platform-edge ac-deploy ac-docs ac-scripts ac-ms-url-shortener ac-be-hub ac-ms-identity"
# Full set required by compose-lab-backend.sh (init after workspace clone)
AC_SUBMODULES_COMPOSE="ac-platform-php ac-platform-web ac-ms-identity ac-ms-rbac ac-ms-devices ac-ms-issues ac-ms-tickets ac-ms-graphs ac-ms-remote-access ac-be-auth ac-be-issues ac-be-tickets ac-be-graphs ac-be-remote-access ac-be-access ac-be-builder ac-ms-build"
URL_SHORTENER_ORIGIN=git://f0xx.org/ac/ac-ms-url-shortener
URL_SHORTENER_ROOT=/var/www/url-shortener
@@ -44,7 +43,6 @@ APP_HUB_PATH=/app/androidcast_project
COMPOSE_BACKEND=/var/www/ac/composed/backend
AC_PLATFORM_ROOT=/var/www/ac/platform
COMPOSE_RUNTIME=1
COMPOSE_SKIP_MONOLITH=1
POSTGRES_SEMI_ENABLE=1
# Gitea browse UI on cast01 (primary); mirrors added later