# Production Override for Jerxie AI Cortex Hub
# Specific to 192.168.68.113 environment with NFS storage on 192.168.68.90

version: '3.8'

services:
  ai-hub:
    env_file:
      - .env
    environment:
      - HUB_PUBLIC_URL=https://ai.jerxie.com
      - HUB_GRPC_ENDPOINT=ai.jerxie.com:443
      - OIDC_ENABLED=true
      - ALLOW_PASSWORD_LOGIN=false
      - OIDC_CLIENT_ID=cortex-server
      - OIDC_CLIENT_SECRET=aYc2j1lYUUZXkBFFUndnleZI
      - OIDC_SERVER_URL=https://auth.jerxie.com
      - OIDC_REDIRECT_URI=https://ai.jerxie.com/api/v1/users/login/callback
      - SUPER_ADMINS=axieyangb@gmail.com,jerxie.app@gmail.com
      - SECRET_KEY=aYc2j1lYUUZXkBFFUndnleZI

# Use local storage for database to avoid NFS locking issues
volumes:
  ai_hub_data:
    driver: local
