services:
  claudecodeui:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        - FORGEJO_BASE_URL=https://forge.wilddragon.net
    image: claudecodeui:local
    container_name: claudecodeui
    restart: unless-stopped
    ports:
      - "3001:3001"
    volumes:
      - /mnt/NVME/Docker/Claude/claudecodeui/claude-data:/home/node/.claude
      - /mnt/NVME/Docker/Claude/claudecodeui/cloudcli-data:/home/node/.cloudcli
      - /mnt/NVME/Docker/Claude/claudecodeui/workspace:/home/node/workspace
    environment:
      - SERVER_PORT=3001
      - HOST=0.0.0.0
      - CONTEXT_WINDOW=160000
      - VITE_CONTEXT_WINDOW=160000
      - ANTHROPIC_BASE_URL=https://ollama.wilddragon.net/v1
      - ANTHROPIC_API_KEY=sk-6610655970c8b144-4lhp46-ac73a34f
      - FORGEJO_BASE_URL=https://forge.wilddragon.net
    devices:
      - /dev/ptmx:/dev/ptmx
