- Updated .env.example to include configuration for OnlyOffice Document Server. - Modified the workspace configuration to remove the drive-suite path. - Adjusted TypeScript environment imports for consistency. - Enhanced Next.js configuration to disable canvas in Webpack. - Updated package.json to include new dependencies for OnlyOffice and PDF.js. - Added global styles for OnlyOffice theme integration in the CSS. - Created new layout and page components for the Drive feature, including public sharing and editing functionalities. - Updated metadata handling across various layouts to reflect the new app structure.
19 lines
853 B
Plaintext
19 lines
853 B
Plaintext
# API backend — URL relative : Next.js proxy vers nginx (:80), pas de CORS en dev
|
|
NEXT_PUBLIC_API_URL=/api/v1
|
|
NEXT_PUBLIC_WS_URL=ws://localhost/ws
|
|
# Cible du proxy Next (optionnel, défaut 127.0.0.1:80)
|
|
# ULTI_PROXY_ORIGIN=http://127.0.0.1
|
|
|
|
# OIDC Authentik (blueprints deploy/authentik dans ulti-backend)
|
|
NEXT_PUBLIC_OIDC_ISSUER=http://localhost/auth/application/o/ulti/
|
|
NEXT_PUBLIC_OIDC_CLIENT_ID=ulti-backend
|
|
# URL publique affichée dans les redirects OIDC (navigateur) — utiliser localhost, pas 0.0.0.0
|
|
# URL publique navigateur (suite nginx) — pas :3000 si tu passes par http://localhost/mail
|
|
NEXT_PUBLIC_APP_URL=http://localhost
|
|
|
|
# Secret serveur uniquement — doit matcher ULTID_OIDC_CLIENT_SECRET / blueprint
|
|
OIDC_CLIENT_SECRET=changeme
|
|
|
|
# OnlyOffice Document Server (UltiDrive editor)
|
|
NEXT_PUBLIC_ONLYOFFICE_URL=http://localhost/office
|