services: lightrag: container_name: lightrag image: ghcr.io/hkuds/lightrag:latest build: context: . dockerfile: Dockerfile tags: - ghcr.io/hkuds/lightrag:latest ports: - "7777:7777" volumes: - ./data/rag_storage:/app/data/rag_storage - ./data/inputs:/app/data/inputs - ./config.ini:/app/config.ini - ../.env.all:/app/.env:ro env_file: - ../.env.all environment: - POSTGRES_HOST=host.docker.internal restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway"