Do not auto restart khoj docker services by default

Let folks who want to add that, add it manually if they want to. It
creates too much noise for folks having trouble with self-host setup
This commit is contained in:
Debanjum
2025-01-13 21:03:39 +07:00
parent 85c537a1de
commit 92a1ec7afc

View File

@@ -1,7 +1,6 @@
services: services:
database: database:
image: ankane/pgvector image: ankane/pgvector
restart: always
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@@ -15,10 +14,8 @@ services:
retries: 5 retries: 5
sandbox: sandbox:
image: ghcr.io/khoj-ai/terrarium:latest image: ghcr.io/khoj-ai/terrarium:latest
restart: unless-stopped
search: search:
image: docker.io/searxng/searxng:latest image: docker.io/searxng/searxng:latest
restart: unless-stopped
volumes: volumes:
- khoj_search:/etc/searxng - khoj_search:/etc/searxng
environment: environment:
@@ -29,7 +26,6 @@ services:
condition: service_healthy condition: service_healthy
# Use the following line to use the latest version of khoj. Otherwise, it will build from source. Set this to ghcr.io/khoj-ai/khoj-cloud:latest if you want to use the prod image. # Use the following line to use the latest version of khoj. Otherwise, it will build from source. Set this to ghcr.io/khoj-ai/khoj-cloud:latest if you want to use the prod image.
image: ghcr.io/khoj-ai/khoj:latest image: ghcr.io/khoj-ai/khoj:latest
restart: unless-stopped
# Uncomment the following line to build from source. This will take a few minutes. Comment the next two lines out if you want to use the official image. # Uncomment the following line to build from source. This will take a few minutes. Comment the next two lines out if you want to use the official image.
# build: # build:
# context: . # context: .