Update to use new argument pattern for khoj in docker-compose

This commit is contained in:
Saba 2022-09-14 11:45:47 +03:00
parent 365ab0c00e
commit 2e0ad6c8a1

View file

@ -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