Files
CABM-IT/config/onlyoffice.php
T
jeremy bayse 8f22dca9c8 Initial commit: CABM-IT (ItGlue-style MSP documentation platform)
Laravel 13 + Livewire/Volt app for managing client organizations,
documents, passwords, flexible assets, virtual machines, contacts,
domains, todos, shortcuts, and role-based user administration.
2026-08-16 13:28:12 +02:00

21 lines
1.1 KiB
PHP

<?php
return [
// Base URL of the OnlyOffice Document Server (e.g. http://localhost:8080).
// Must be reachable from the *browser*. The document server itself must
// separately be able to reach this Laravel app (see callback_base_url below).
'document_server_url' => env('ONLYOFFICE_DS_URL', 'http://localhost:8080'),
// Base URL the Document Server container uses to reach THIS Laravel app
// (for the download and callback requests). When the document server runs
// in Docker and Laravel runs on the host machine, APP_URL (e.g.
// http://localhost:8000) is not reachable from inside the container —
// use http://host.docker.internal:8000 instead. Falls back to APP_URL
// when unset (e.g. both running in the same Docker network).
'callback_base_url' => env('ONLYOFFICE_CALLBACK_BASE_URL', env('APP_URL', 'http://localhost')),
// Shared secret used to sign/verify JWTs exchanged with the Document Server
// (editor config sent to the browser, and callback requests received from it).
'jwt_secret' => env('ONLYOFFICE_JWT_SECRET'),
];