# Rakazo self-host .env (published images). Only the keys this deployment sets. # Every other optional key (model providers, Slack/Telegram/WhatsApp, S3, SSO, Sentry...) is listed # in upstream's infra/compose/.env.images.example; leave unset unless you use it. # Generate each secret with: openssl rand -base64 32 (hex: openssl rand -hex 32) # --- Compose project and images --- # Keep "rakazo": the edge relay in docker-compose.override.yml targets the container rakazo-web-1. COMPOSE_PROJECT_NAME=rakazo RAKAZO_IMAGE=ghcr.io/elie222/rakazo/app # Pin a published stable release (github.com/elie222/rakazo/releases); `latest` moves on every release. RAKAZO_IMAGE_TAG=v0.15.0 RAKAZO_COMPUTER_IMAGE=ghcr.io/elie222/rakazo/computer RAKAZO_COMPUTER_IMAGE_TAG=v0.15.0 # --- Database (Postgres in the stack) --- # Owner login (migrations only) and the app's row-level-security login. Both random secrets. POSTGRES_USER=rakazo POSTGRES_PASSWORD=change-me POSTGRES_DB=rakazo POSTGRES_APP_PASSWORD=change-me # --- Auth, encryption and internal secrets (random strings, never reuse) --- BETTER_AUTH_SECRET=change-me ENCRYPTION_KEY=change-me MASTER_KEY_PROVIDER=local CONTENT_ENCRYPTION=on SECRET_STORE=encrypted SCREEN_PROXY_SECRET=change-me SANDBOX_SUPERVISOR_TOKEN=change-me # Only read by the opt-in `updater` profile; harmless if unused. RAKAZO_UPDATER_TOKEN=change-me # --- Public address (must match the Traefik route) --- BETTER_AUTH_URL=https://rakazo.example.com WEB_ORIGIN=https://rakazo.example.com API_URL=https://rakazo.example.com RAKAZO_HOST=rakazo.example.com # Optional second address, e.g. a Tailscale Serve URL for tailnet-only access. RAKAZO_ALLOWED_HOSTS=your-server.your-tailnet.ts.net RAKAZO_EXTRA_AUTH_ORIGINS=https://your-server.your-tailnet.ts.net:8445 # --- Host ports (loopback only; Traefik reaches web through the rakazo-edge relay) --- # Defaults are 5173/3100; changed here only to avoid clashes with other apps on the VPS. RAKAZO_WEB_BIND=127.0.0.1 RAKAZO_WEB_PORT=5180 RAKAZO_API_PORT=3110 # --- Bot computers (local Docker desktops managed by the in-stack supervisor) --- SANDBOX_PROVIDER=docker RAKAZO_COMPUTER_MEMORY=1g # "restricted" blocks the host, private ranges and cloud metadata; needs rakazo-computer-egress.service. SANDBOX_COMPUTER_EGRESS=restricted # --- Accounts and features --- # Create your own account first, then close sign-ups. SIGNUPS_ENABLED=false MESSAGING_OPEN_SIGNUP=false PHONE_CALLS_ENABLED=true MAX_UPLOAD_SIZE_MB=10 LOG_LEVEL=info # --- Reverse proxy network (used by docker-compose.override.yml; Dokploy: dokploy-network) --- PROXY_NETWORK=proxy # --- Models: none set here on purpose. Add a provider key in the app's model settings, or e.g. # OPENROUTER_API_KEY= / OPENAI_API_KEY= (see upstream .env.images.example for the full list).