services: agentsview: image: ghcr.io/kenn-io/agentsview:latest restart: unless-stopped ports: - "127.0.0.1:8080:8080" environment: CLAUDE_PROJECTS_DIR: /agents/claude CODEX_SESSIONS_DIR: /agents/codex FORGE_DIR: /agents/forge OPENCODE_DIR: /agents/opencode # Set both of these to serve from PostgreSQL instead of the local archive. # AGENTSVIEW_MODE: pg-serve # AGENTSVIEW_PG_URL: postgres://user:password@postgres.example.com:5432/agentsview?sslmode=require # Read the bearer token from a mounted secret instead of /data/config.toml. # AGENTSVIEW_AUTH_TOKEN_FILE: /run/secrets/agentsview_token volumes: - agentsview-data:/data - ${HOME}/.claude/projects:/agents/claude:ro - ${HOME}/.codex/sessions:/agents/codex:ro - ${HOME}/.forge:/agents/forge:ro - ${HOME}/.local/share/opencode:/agents/opencode:ro volumes: agentsview-data: