From 2e0ad6c8a129a8bb15f0ae691cf09373d2e05806 Mon Sep 17 00:00:00 2001 From: Saba Date: Wed, 14 Sep 2022 11:45:47 +0300 Subject: [PATCH] Update to use new argument pattern for khoj in docker-compose --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 022463f2..3961f5c8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,8 @@ version: "3.9" services: server: - image: ghcr.io/debanjum/khoj:latest + build: . + # image: ghcr.io/debanjum/khoj:latest ports: # If changing the local port (left hand side), no other changes required. # If changing the remote port (right hand side), @@ -21,9 +22,10 @@ services: - ./tests/data/ledger/:/data/ledger/ - ./tests/data/music/:/data/music/ - ./tests/data/markdown/:/data/markdown/ + - /home/saba/projects/panchayat/panchayat/instance/:/data/panchayat/ # Embeddings and models are populated after the first run # You can set these volumes to point to empty directories on host - ./tests/data/embeddings/:/data/embeddings/ - ./tests/data/models/:/data/models/ # Use 0.0.0.0 to explicitly set the host ip for the service on the container. https://pythonspeed.com/articles/docker-connection-refused/ - command: --host="0.0.0.0" --port=8000 -c=config/khoj_docker.yml -vv + command: config/khoj_docker.yml --host="0.0.0.0" --port=8000 -vv