Docker y publicación
El plan LDS ya pedía Docker para desarrollo, pruebas y producción. En esta VM hay dos stacks.
SIGMA (PHP 7 / UARGFlow)
Guía: /home/ubuntu/apps/sigma/pase a docker/PASOS.md.
- Contenedores:
sigma-php(Apache + PHP 7.4) ysigma-db(MariaDB,bdUsuarios) - URL: https://sigma.3byte.com.ar/app/index.php
- En Docker el host de MySQL es el servicio
db, nolocalhost - Login Google clásico (
platform.js). Hay que autorizar el origenhttps://sigma.3byte.com.ar
cd "/home/ubuntu/apps/sigma/pase a docker"
docker compose up -d --build
docker compose exec php php /var/www/html/db_check.php
SIGMA 8 (PHP 8)
Guía: /home/ubuntu/apps/sigma8/INSTALACION.md.
sigma8-php+sigma8-db(sigma_bd)- URL: https://sigma8.3byte.com.ar/app/index.php
- OAuth más nuevo; el redirect es
.../app/google-callback.php
Constantes que hay que alinear al host
SERVER, APPURL, HOMEURL, HOMEAUTH. ControlAcceso compara SERVER + PHP_SELF con HOMEURL.
Docs (este sitio)
cd /home/ubuntu/apps/docusaurus
docker compose up -d --build
Host NPM: doc.3byte.com.ar → contenedor docusaurus:80.