1
0
mirror of git://f0xx.org/ac/ac-deploy synced 2026-07-29 03:38:07 +03:00
This commit is contained in:
Anton Afanasyeu
2026-06-23 12:21:14 +02:00
commit 7f3e4fea9f
53 changed files with 2725 additions and 0 deletions

48
sim/cluster0/cluster.env Normal file
View File

@@ -0,0 +1,48 @@
# 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
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
APP_ROOT=/var/www/localhost/htdocs/apps/app/androidcast_project
APP_BASE_PATH=/app/androidcast_project/crashes
APP_HUB_PATH=/app/androidcast_project
# Set after DNS + FE redirect, then run verify_global_setup.sh
PUBLIC_ORIGIN=https://apps.f0xx.org
SHORT_LINKS_PUBLIC_BASE=https://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
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"