# Online office stack This stack provides browser-based office editing through Nextcloud. It deploys ONLYOFFICE Docs for Excel-compatible XLSX editing. It stores documents in the dedicated `/data/homelab-office` tree on Debian and uses PostgreSQL and Redis instead of SQLite or in-container state. The pipeline deploys the stack independently with: ```sh ./jeannie deploy-office ``` The Nextcloud edge route is `https://office.lab2025.duckdns.org`; ONLYOFFICE is available at `https://docs.lab2025.duckdns.org`. The Nextcloud route is protected by Dex SSO. Dex SSO is configured by the pipeline after the first Nextcloud boot when `DEX_OFFICE_CLIENT_SECRET` exists in the encrypted Dex secret. Existing older Dex secret files must be regenerated or supplied with `LAB_OFFICE_OIDC_CLIENT_SECRET`; credentials are never committed to the repository.