# Copy this file to .env and adjust it locally. # Do not commit real API keys or personal paths. # Folder mounted inside the container at /workspace (your code projects). # The default keeps user files in this repository's local workspace/ folder. # Relative paths are resolved from the directory containing docker-compose.yml. WORKSPACE_DIR=./workspace # Examples: # Windows: WORKSPACE_DIR=C:/Users/you/projects/my-app # macOS/Linux: WORKSPACE_DIR=/home/you/projects/my-app # Project root next to this compose file: WORKSPACE_DIR=. # Host folder that will be mounted as the container user's home directory. # This is where Grok Build (and other CLIs) store their configuration (~/.grok), login tokens, # history, etc. By default it uses an internal Docker volume (opaque, managed by Docker). # # If you want full control and visibility on your disk (strongly recommended when using Grok Build), # uncomment and point to a local folder: # # AI_CLI_HOME_DIR=./ai-cli-home # # On Windows always use forward slashes: # AI_CLI_HOME_DIR=C:/Users/your_username/ai-cli-home # # If you leave it unset, a Docker named volume called "ai_cli_home" will be used (created automatically). # Bind to 127.0.0.1 by default. Use 0.0.0.0 only if you want LAN access. BIND_ADDRESS=127.0.0.1 APP_PORT=8000 WEB_PORT=3000 VITE_PORT=5173 # Official AI coding CLIs installed during docker build. # Set a version number instead of latest if you need reproducible builds. # Grok Build runs a remote installer during the Docker build. INSTALL_CODEX_CLI=true INSTALL_CLAUDE_CODE=true INSTALL_GROK_BUILD=true CODEX_CLI_VERSION=latest CLAUDE_CODE_VERSION=latest # Optional: rebuild after changing these. CONTAINER_USER=dev USER_UID=1001 USER_GID=1001 # Optional API keys. Keep real values only in .env. OPENAI_API_KEY= ANTHROPIC_API_KEY= XAI_API_KEY=