1
0
mirror of git://f0xx.org/ac/ac-deploy synced 2026-07-29 02:57:38 +03:00
Files
ac-deploy/sim/cluster0/cluster.env
Anton Afanasyev b47f91b1ab 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>
2026-06-24 22:53:38 +02:00

77 lines
3.2 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# cluster0 — cast01cast03 lab (edit for new clusters: cluster1, staging, etc.)
CLUSTER_NAME=cluster0
CLUSTER_ID=0
FE_NFS_SERVER=10.7.0.10
FE_NFS_EXPORT_PATH=/mnt/raid0/xendomains/domU_cast_cluster_0/shared
SHARED_MOUNT=/shared
CAST01_HOST=cast01
CAST01_IP=10.7.16.236
CAST02_HOST=cast02
CAST02_IP=10.7.16.237
CAST03_HOST=cast03
CAST03_IP=10.7.16.238
CAST_DOMAIN=intra.raptor.org
PRIMARY_DB_HOST=cast01
PRIMARY_DB_PORT=3306
ARTC0_HOST=artc0
ARTC0_IP=10.7.16.128
# DEPRECATED: legacy dev VM — FE/compose no longer target artc0; kept for DNS cleanup only.
SSH_USER=ai
# ── 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
APP_ROOT=/var/www/localhost/htdocs/apps/app/androidcast_project
APP_BASE_PATH=/app/androidcast_project/issues
APP_LEGACY_BASE_PATH=/app/androidcast_project/crashes
APP_HUB_PATH=/app/androidcast_project
COMPOSE_BACKEND=/var/www/ac/composed/backend
AC_PLATFORM_ROOT=/var/www/ac/platform
COMPOSE_RUNTIME=1
POSTGRES_SEMI_ENABLE=1
# Gitea browse UI on cast01 (primary); mirrors added later
GITEA_ENABLE=1
GITEA_HTTP_PORT=3000
GITEA_DB_TYPE=sqlite3
GITEA_PUBLIC_HOST=acl0.f0xx.org
GITEA_ROOT_URL=https://acl0.f0xx.org/app/androidcast_project/git/
GITEA_ORG=ac
# Global verify: lab FE vhost (set after ac-fe.conf on monstro); prod unchanged below
LAB_PUBLIC_ORIGIN=https://acl0.f0xx.org
PUBLIC_ORIGIN=https://apps.f0xx.org
SHORT_LINKS_PUBLIC_BASE=https://s.f0xx.org
# Staging cluster url-shortener API (internal HTTP + Host header)
URL_SHORTENER_API_BASE=http://cast01.intra.raptor.org
URL_SHORTENER_API_HOST=s.f0xx.org
FE_PROXY_TARGET=cast01.intra.raptor.org:80
# Lab DNS (2026-06): acl0.f0xx.org + c1c3.acl0.f0xx.org → FE (cast0103 cluster)
ACL0_CNAME=acl0.f0xx.org
MAIL_RELAY_ENABLE=1
MAIL_GMAIL_DEST=bestcastr@gmail.com
CAST01_PUBLIC=c1.acl0.f0xx.org
CAST02_PUBLIC=c2.acl0.f0xx.org
CAST03_PUBLIC=c3.acl0.f0xx.org
EXPECTED_CRASHES_TABLES=16
EXPECTED_URL_SHORTENER_TABLES=4
APK_PACKAGES_BASE="nginx php83 php83-fpm php83-cli php83-session php83-pdo php83-pdo_mysql php83-pdo_sqlite php83-sqlite3 php83-mbstring php83-json php83-curl php83-openssl php83-xml php83-zip php83-phar php83-opcache mariadb-client git rsync curl bash ca-certificates sqlite wireguard-tools nfs-utils openssh-client libqrencode libqrencode-tools"