services:
  qdrant:
    image: qdrant/qdrant:latest
    container_name: qdrant-arc
    ports:
      - "6333:6333"
      - "6334:6334"
    environment:
      - QDRANT__TELEMETRY_DISABLED=true
    volumes:
      - qdrant_storage:/qdrant/storage
    networks:
      - arc-network

  git-server:
    image: gitea/gitea:latest
    container_name: git-arc
    ports:
      - "3000:3000"
    networks:
      - arc-network
    volumes:
      - gitea_data:/data
    environment:
      - GITEA__security__INSTALL_LOCK=true
      - GITEA__database__DB_TYPE=sqlite3
      - GITEA__database__PATH=/data/gitea/gitea.db
      - GITEA__server__ROOT_URL=http://localhost:3000/
      - GITEA__server__SSH_PORT=22

volumes:
  qdrant_storage:
  gitea_data:

networks:
  arc-network:
    external: true