openfang Docker & Self-Hosted Deployment

GitHub

Open-source Agent Operating System

RAW Compose
1. Pull Image (DOCKERHUB) docker pull rightnow-ai/openfang
2. Docker Run (1-Click Launch) docker run -d --name openfang -p 4200:4200 --restart always rightnow-ai/openfang:latest
3. Podman Run podman run -d --name openfang -p 4200:4200 --restart always rightnow-ai/openfang:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/rightnow-ai/openfang:latest
5. ORAS Pull (OCI Artifact) oras pull rightnow-ai/openfang:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
# NOTE: The GHCR image (ghcr.io/rightnow-ai/openfang) is not yet public.
# For now, build from source using `docker compose up --build`.
# See: https://github.com/RightNow-AI/openfang/issues/12

version: "3.8"
services:
  openfang:
    build: .
    # image: ghcr.io/rightnow-ai/openfang:latest  # Uncomment when GHCR is public
    ports:
      - "4200:4200"
    volumes:
      - openfang-data:/data
    # Uncomment to reach host services (Ollama, whisper.cpp, local Postgres)
    # from inside the container. Required on Linux and colima. See
    # docs/troubleshooting.md#connecting-to-host-services-from-docker.
    # extra_hosts:
    #   - "host.docker.internal:host-gateway"
    environment:
      - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
      - OPENAI_API_KEY=${OPENAI_API_KEY:-}
      - GROQ_API_KEY=${GROQ_API_KEY:-}
      - TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
      - DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN:-}
      - SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN:-}
      - SLACK_APP_TOKEN=${SLACK_APP_TOKEN:-}
    restart: unless-stopped

volumes:
  openfang-data: