# Copy to .env and fill in values. # Do not commit your real .env. # Comma-separated extras to install in the Docker image. # Common: proxy,code,ml # Add gpu for NVIDIA GPU support. # HEADROOM_EXTRAS=proxy,code,ml,gpu HEADROOM_EXTRAS=proxy,code,ml # How many proxy workers to run. # Default: 3 HEADROOM_WORKERS=3 # Host port mapped to container port 7860. # Default: 1345 HOST_PORT=1345 # Timezone used inside the container. # Default: Asia/Bangkok TZ=Asia/Bangkok # Optional: forward these to the container if needed. # ANTHROPIC_API_KEY= # ANTHROPIC_TARGET_API_URL= # Optional: require clients to send X-Headroom-Key / Authorization. # HEADROOM_PROXY_API_KEY= # Optional: primary Redis URL (redis://, rediss://, http(s)://). # Set REDIS_REST_TOKEN if you use an HTTP-based Redis provider (e.g. Upstash). # REDIS_URL=redis://localhost:6379/0 # REDIS_REST_TOKEN= # Optional: set to 1 to avoid downloading models at startup. # HF_HUB_OFFLINE= # TRANSFORMERS_OFFLINE= # Optional: proxy logging / behavior flags. # HEADROOM_HOST=0.0.0.0 # HEADROOM_PORT=7860 # HEADROOM_LOG_MESSAGES=1 # HEADROOM_STATS_RESET_ON_RESTART=1