- Add docker/vmis-test/ with separate .env (10.1.0.20:5433) and docker-compose
- Route YAML: is_active=False → vmis-backend-test, is_active=True → vmis-backend
- Test and production managers now use independent backend containers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Manager tenant is a real company tenant with employees who need
NC Drive + OO. is_manager only controls admin portal access and
Traefik route inclusion, not whether NC/OO infrastructure is needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
prefix was optional with empty default, allowing accounts to be created
with broken account_code (no prefix). Root fix: enforce prefix at input
level rather than patching data after the fact.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Manager tenant accounts don't have an NC container, so NC user
creation and Mail setup should be skipped (marked as success).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
prefix was missing from TenantUpdate, causing updates via Admin Portal
to silently ignore the prefix value.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Without base href, relative asset paths (css/, js/, img/) resolve to
root path when accessed via /admin (no trailing slash), causing CSS/JS
to be served by NC instead of vmis-backend.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Manager tenant (is_manager=True) only needs Traefik route + SSO + Mailbox.
NC and OO containers should not be created for the manager tenant.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PG_PORT was hardcoded to 5433 (trial env), causing scheduler to fail
connecting to production PostgreSQL which listens on 5432.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>