mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Update to use new argument pattern for khoj in docker-compose
This commit is contained in:
parent
365ab0c00e
commit
2e0ad6c8a1
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
version: "3.9"
|
version: "3.9"
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: ghcr.io/debanjum/khoj:latest
|
build: .
|
||||||
|
# image: ghcr.io/debanjum/khoj:latest
|
||||||
ports:
|
ports:
|
||||||
# If changing the local port (left hand side), no other changes required.
|
# If changing the local port (left hand side), no other changes required.
|
||||||
# If changing the remote port (right hand side),
|
# If changing the remote port (right hand side),
|
||||||
|
@ -21,9 +22,10 @@ services:
|
||||||
- ./tests/data/ledger/:/data/ledger/
|
- ./tests/data/ledger/:/data/ledger/
|
||||||
- ./tests/data/music/:/data/music/
|
- ./tests/data/music/:/data/music/
|
||||||
- ./tests/data/markdown/:/data/markdown/
|
- ./tests/data/markdown/:/data/markdown/
|
||||||
|
- /home/saba/projects/panchayat/panchayat/instance/:/data/panchayat/
|
||||||
# Embeddings and models are populated after the first run
|
# Embeddings and models are populated after the first run
|
||||||
# You can set these volumes to point to empty directories on host
|
# You can set these volumes to point to empty directories on host
|
||||||
- ./tests/data/embeddings/:/data/embeddings/
|
- ./tests/data/embeddings/:/data/embeddings/
|
||||||
- ./tests/data/models/:/data/models/
|
- ./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/
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue