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