Last active 2 weeks ago

Consdoc environment keys staging

.env Raw
1PORT=3008
2NEXT_PUBLIC_APP_URL="https://staging.consdoc.com"
3NEXT_PUBLIC_API_VERSION="latest"
4
5NEXT_PUBLIC_ENVIRONMENT="staging"
6NEXT_PUBLIC_API_URL_PRODUCTION="https://api.konstruksi.ai"
7NEXT_PUBLIC_SOCKET_URL_PRODUCTION="https://socket.konstruksi.ai"
8NEXT_PUBLIC_API_URL_STAGING="https://api-staging.konstruksi.ai"
9NEXT_PUBLIC_SOCKET_URL_STAGING="https://socket-staging.konstruksi.ai"
10NEXT_PUBLIC_API_URL_DEVELOPMENT="https://api-dev.konstruksi.ai"
11NEXT_PUBLIC_SOCKET_URL_DEVELOPMENT="https://socket-dev.konstruksi.ai"
12
13# Redux Persist Configuration
14# Set to 'true' to enable encryption, 'false' to disable
15NEXT_PUBLIC_REDUX_ENCRYPT_ENABLED=false
16
17# AI chat panel: use module_ai v2 HTTP + gateway_socket streaming (set true on staging when backend is ready)
18NEXT_PUBLIC_AI_CHAT_V2=true
19
20# MPP viewer: default is mpxj in code; override with "aspose" for legacy only.
21# No API keys here — MPXJ_API_KEY is only on the document service backend.
22NEXT_PUBLIC_MPP_DATA_SOURCE="mpxj"
23
24# Encryption key (only used when encryption is enabled)
25# Change this to a secure random string in production
26NEXT_PUBLIC_REDUX_ENCRYPT_KEY="Konstruksi.AI-2024"
27
28# OnlyOffice Document Server public URL (fallback if GET .../onlyoffice/config omits documentServerUrl)
29NEXT_PUBLIC_ONLYOFFICE_URL="https://office.konstruksi.ai"