mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-07-29 04:38:48 +03:00
79 lines
2.8 KiB
Bash
79 lines
2.8 KiB
Bash
# cluster0 — cast01–cast03 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
|
||
|
||
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)
|
||
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
|
||
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"
|
||
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
|
||
COMPOSE_SKIP_MONOLITH=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 + c1–c3.acl0.f0xx.org → FE (cast01–03 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"
|