Fix Docker installation startup
This commit is contained in:
@@ -51,7 +51,7 @@ services:
|
||||
ports:
|
||||
- "8888:8080"
|
||||
volumes:
|
||||
- searxng_settings:/etc/searxng
|
||||
- searxng_cache:/var/cache/searxng
|
||||
environment:
|
||||
- SEARXNG_BASE_URL=http://localhost:8888/
|
||||
- SEARXNG_SECRET_KEY=nsct_searxng_secret_key_change_me
|
||||
@@ -64,6 +64,7 @@ services:
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /etc/searxng:mode=1777
|
||||
cap_drop:
|
||||
- ALL
|
||||
|
||||
@@ -79,6 +80,7 @@ services:
|
||||
environment:
|
||||
NSCT_DB_URL: postgresql+asyncpg://${POSTGRES_USER:-nsct}:${POSTGRES_PASSWORD:-nsct_secret}@postgres:5432/${POSTGRES_DB:-nsct}
|
||||
NSCT_LLM_MAX_CONCURRENCY: "${NSCT_LLM_MAX_CONCURRENCY:-3}"
|
||||
NSCT_SEARXNG_BASE_URL: http://searxng:8080/
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -103,5 +105,5 @@ volumes:
|
||||
driver: local
|
||||
nsct_data:
|
||||
driver: local
|
||||
searxng_settings:
|
||||
driver: local
|
||||
searxng_cache:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user