55# The public-facing URL of your client application.
66# [BUILD-TIME & RUNTIME] Crucial for OAuth redirects and server-side requests.
77APP_BASE_URL=http://localhost:3000
8+ NEXT_PUBLIC_APP_BASE_URL=http://localhost:3000
89
910# The URL where the backend server will be accessible from the user's browser
1011# [BUILD-TIME & RUNTIME] Used by the client to make API calls.
1112NEXT_PUBLIC_APP_SERVER_URL=http://localhost:5000
1213
1314# The internal URL for the backend server, used for server-to-server communication inside Docker.
14- # [RUNTIME] Used by the client's Next.js server to talk to the backend server.
15+ # [BUILD-TIME & RUNTIME] Used by the client's Next.js server to talk to the backend server.
1516INTERNAL_APP_SERVER_URL=http://server:80
1617
1718# The internal URL for the client container, used for server-side self-requests
18- # [RUNTIME] Used for OAuth callbacks within the Docker network.
19+ # [BUILD-TIME & RUNTIME] Used for OAuth callbacks within the Docker network.
1920INTERNAL_CLIENT_URL=http://client:3000
2021
2122# The mode to run the application in
2223# [BUILD-TIME & RUNTIME] Switches between Auth0 and self-host auth mode.
2324NEXT_PUBLIC_ENVIRONMENT=selfhost
2425
25- # [BUILD-TIME & RUNTIME] A long, random, secret string. It must match SELF_HOST_AUTH_SECRET in server/.env.selfhost
26+ # [BUILD-TIME & RUNTIME] A long, random, secret string. It must match SELF_HOST_AUTH_SECRET in server/.env.selfhost.template
2627SELF_HOST_AUTH_TOKEN=<generate_a_strong_secret_here>
2728
2829# --- Server (Backend) Build-Time Variables ---
2930# [BUILD-TIME] Set OPENAI_API_KEY to "ollama" to install Ollama in the server container.
3031# Otherwise, provide your key for a remote service.
3132OPENAI_API_KEY=ollama
32- # [BUILD-TIME] The model to pull if Ollama is being installed.
33+ # [BUILD-TIME] The model to pull if Ollama is being installed. This should match the model in the server's Modelfile.
3334OPENAI_MODEL_NAME=qwen3:4b
3435
36+ # --- Gemini API Key (for Server - Memory MCP & optional LiteLLM) ---
37+ # [RUNTIME] Required for memory embeddings and can be used for chat via LiteLLM.
38+ GEMINI_API_KEY=<your-gemini-api-key>
39+
3540# --- MongoDB Credentials (for Server) ---
36- MONGO_USER=sentient
41+ MONGO_USER=test
3742MONGO_PASS=<generate_a_strong_password_for_mongo>
3843
3944# --- PostgreSQL Credentials (for Server - Memory MCP) ---
@@ -42,4 +47,10 @@ POSTGRES_PASS=<generate_a_strong_password_for_postgres>
4247POSTGRES_DB=sentient_memory_db
4348
4449# --- Redis Password (for Server - Celery) ---
45- REDIS_PASSWORD=<generate_a_strong_password_for_redis>
50+ REDIS_PASSWORD=<generate_a_strong_password_for_redis>
51+
52+ # --- WhatsApp (WAHA) Credentials (for WAHA Service) ---
53+ # These are used by the WAHA container for WhatsApp integration.
54+ WAHA_API_KEY=admin
55+ WAHA_DASHBOARD_USERNAME=admin
56+ WAHA_DASHBOARD_PASSWORD=admin
0 commit comments