services:
  app:
    build: .
    container_name: arc-app
    image: arc-app
    ports:
      - "8000:8000"
      - "8001:8001"
    volumes:
      - .:/workspace
    environment:
      - PYTHONPATH=/workspace
      - QDRANT_URL=http://qdrant-arc:6333
      - QDRANT_COLLECTION=arc_projects
      - EMBEDDING_SERVER_URL=http://embedding-arc:8080
      - GITEA_API_URL=http://git-arc:3000/api/v1
      - GITEA_TOKEN=${GITEA_TOKEN}
    networks:
      - arc-network

networks:
  arc-network:
    external: true