mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Configure production setup for moving to single worker model
This commit is contained in:
parent
90c5b3c410
commit
928f273bbe
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
import multiprocessing
|
||||
|
||||
bind = "0.0.0.0:42110"
|
||||
workers = 8
|
||||
workers = 1
|
||||
worker_class = "uvicorn.workers.UvicornWorker"
|
||||
timeout = 120
|
||||
keep_alive = 60
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
|
||||
# FROM ubuntu:jammy
|
||||
FROM ubuntu:jammy
|
||||
|
||||
LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj
|
||||
|
||||
|
|
Loading…
Reference in a new issue