d93385b373
CI / Check / macos-latest (push) Waiting to run
CI / Check / ubuntu-latest (push) Waiting to run
CI / Check / windows-latest (push) Waiting to run
CI / Test / macos-latest (push) Waiting to run
CI / Test / ubuntu-latest (push) Waiting to run
CI / Test / windows-latest (push) Waiting to run
CI / Clippy (push) Waiting to run
CI / Format (push) Waiting to run
CI / Security Audit (push) Waiting to run
CI / Secrets Scan (push) Waiting to run
CI / Install Script Smoke Test (push) Waiting to run
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
# 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:
|