# Deploy geollm with a single command: docker compose up. # # By default the database comes up with the built-in e5 neural encoder, whose model is # baked into the image: the container is self-contained, works offline, without a graphics # processor and without external services. An external ollama is not needed at all; its # profile is left only as an optional alternative. services: geollm: build: . image: geollm:0.3.0 ports: - "6333:6333" volumes: - geollm_data:/data environment: GEOLLM_EMBEDDER: ${GEOLLM_EMBEDDER:-embedded} GEOLLM_MODEL_DIR: /models/e5-small OLLAMA_HOST: http://ollama:11434 restart: unless-stopped # Neural encoder. Launch: docker compose --profile neural up ollama: image: ollama/ollama:latest profiles: ["neural"] ports: - "11434:11434" volumes: - ollama_models:/root/.ollama restart: unless-stopped volumes: geollm_data: ollama_models: