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.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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'),
|
||||
];
|
||||
Reference in New Issue
Block a user