Add default server configuration on first run in non-interactive mode

This should configure Khoj with decent default configurations via
Docker and avoid needing to configure Khoj via admin page to start
using dockerized Khoj

Update default max prompt size set during khoj initialization
as online chat model are cheaper and offline chat models have larger
context now
This commit is contained in:
Debanjum Singh Solanky
2024-09-18 19:19:27 -07:00
parent 020167c7cf
commit f177723711
4 changed files with 60 additions and 30 deletions

View File

@@ -48,7 +48,7 @@ services:
# Replace the domain with your domain. Proceed with caution, especially if you are using anonymous mode.
# - KHOJ_NO_HTTPS=True
# - KHOJ_DOMAIN=192.168.0.104
command: --host="0.0.0.0" --port=42110 -vv --anonymous-mode
command: --host="0.0.0.0" --port=42110 -vv --anonymous-mode --non-interactive
volumes: