Actualizado Domain y subdomain

This commit is contained in:
Guillermo
2026-02-12 09:19:56 +00:00
parent df12fe5339
commit 6a8ffe5da8
2 changed files with 11 additions and 1 deletions

View File

@@ -197,6 +197,16 @@ if ! grep -q "XXX" docker-compose.yml; then
else
sed -i "s/XXX/\"$SUBDOMAIN\"/" docker-compose.yml
fi
if $DOMAIN==$SUBDOMAIN; then
DOMAIN=$DOMAIN".analytics.beyondcx.org"
fi
if ! grep -q "DDD" docker-compose.yml; then
echo "⚠ No encuentro XXX en docker-compose.yml. Revisa el archivo a mano."
else
sed -i "s/DDD/\"$DOMAIN\"/" docker-compose.yml
fi
# Aseguramos que nginx exponga también 443
#if grep -q 'ports:' docker-compose.yml && grep -q 'nginx:' docker-compose.yml; then