Build the agent-native compute CRM platform
CI / verify (push) Successful in 3m6s

This commit is contained in:
2026-08-13 01:39:01 -07:00
parent bfd2f8d95a
commit 853bde2265
160 changed files with 61812 additions and 483 deletions
+29 -1
View File
@@ -45,15 +45,43 @@ services:
PRIME_API_KEY: ${PRIME_API_KEY:-}
PRIME_SYNC_ENABLED: ${PRIME_SYNC_ENABLED:-false}
PIGGY_ENABLED: ${PIGGY_ENABLED:-false}
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
PIGGY_INTERNAL_URL: http://piggy:8931
PIGGY_INTERNAL_TOKEN: ${PIGGY_INTERNAL_TOKEN:-}
SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN:-}
SLACK_SIGNING_SECRET: ${SLACK_SIGNING_SECRET:-}
BUZZ_RELAY_URL: ${BUZZ_RELAY_URL:-}
NOTION_CLIENT_ID: ${NOTION_CLIENT_ID:-}
NOTION_CLIENT_SECRET: ${NOTION_CLIENT_SECRET:-}
NOTION_REDIRECT_URI: ${NOTION_REDIRECT_URI:-}
BUZZ_PRIVATE_KEY: ${BUZZ_PRIVATE_KEY:-}
BUZZ_AUTH_TAG: ${BUZZ_AUTH_TAG:-}
# Bound to loopback: TLS termination belongs to the reverse proxy in front,
# not to this container.
ports:
- '127.0.0.1:${PIG_HOST_PORT:-8920}:8920'
piggy:
profiles: ['piggy']
build: .
restart: unless-stopped
depends_on:
db:
condition: service_healthy
command: ['npx', 'tsx', 'apps/piggy/src/main.ts']
environment:
DATABASE_URL: postgres://${POSTGRES_USER:-pig}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB:-pig}
PIGGY_INFERENCE_API_KEY: ${PIGGY_INFERENCE_API_KEY:-}
PIGGY_INFERENCE_BASE: ${PIGGY_INFERENCE_BASE:-https://api.pinference.ai/api/v1}
PIGGY_MODEL: ${PIGGY_MODEL:-nvidia/nemotron-3-nano-30b-a3b}
PIGGY_LEASE_SECONDS: ${PIGGY_LEASE_SECONDS:-300}
PIGGY_INTERNAL_TOKEN: ${PIGGY_INTERNAL_TOKEN:-}
PIGGY_CHAT_HOST: 0.0.0.0
PIGGY_CHAT_PORT: 8931
PIGGY_CHAT_ALLOW_NON_LOOPBACK: 'true'
# Private to the Compose network. There is deliberately no `ports` entry.
expose:
- '8931'
volumes:
pig-pgdata:
# Named explicitly so it is obvious which volume holds the data, and so a