Last active 2 weeks ago

Consdoc environment keys staging

arechta's Avatar arechta revised this gist 2 weeks ago. Go to revision

1 file changed, 29 insertions

.env(file created)

@@ -0,0 +1,29 @@
1 + PORT=3008
2 + NEXT_PUBLIC_APP_URL="https://staging.consdoc.com"
3 + NEXT_PUBLIC_API_VERSION="latest"
4 +
5 + NEXT_PUBLIC_ENVIRONMENT="staging"
6 + NEXT_PUBLIC_API_URL_PRODUCTION="https://api.konstruksi.ai"
7 + NEXT_PUBLIC_SOCKET_URL_PRODUCTION="https://socket.konstruksi.ai"
8 + NEXT_PUBLIC_API_URL_STAGING="https://api-staging.konstruksi.ai"
9 + NEXT_PUBLIC_SOCKET_URL_STAGING="https://socket-staging.konstruksi.ai"
10 + NEXT_PUBLIC_API_URL_DEVELOPMENT="https://api-dev.konstruksi.ai"
11 + NEXT_PUBLIC_SOCKET_URL_DEVELOPMENT="https://socket-dev.konstruksi.ai"
12 +
13 + # Redux Persist Configuration
14 + # Set to 'true' to enable encryption, 'false' to disable
15 + NEXT_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)
18 + NEXT_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.
22 + NEXT_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
26 + NEXT_PUBLIC_REDUX_ENCRYPT_KEY="Konstruksi.AI-2024"
27 +
28 + # OnlyOffice Document Server public URL (fallback if GET .../onlyoffice/config omits documentServerUrl)
29 + NEXT_PUBLIC_ONLYOFFICE_URL="https://office.konstruksi.ai"
Newer Older