mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Configure production setup for moving to single worker model
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import multiprocessing
|
import multiprocessing
|
||||||
|
|
||||||
bind = "0.0.0.0:42110"
|
bind = "0.0.0.0:42110"
|
||||||
workers = 8
|
workers = 1
|
||||||
worker_class = "uvicorn.workers.UvicornWorker"
|
worker_class = "uvicorn.workers.UvicornWorker"
|
||||||
timeout = 120
|
timeout = 120
|
||||||
keep_alive = 60
|
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
|
LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user