🔧(compose) disable indexer in default configuration

Set SEARCH_INDEXER_CLASS=None as default configuration for dev.
Rename docker network 'lasuite-net' as 'lasuite' to match with Drive
configuration.

Signed-off-by: Fabre Florian <ffabre@hybird.org>
This commit is contained in:
Fabre Florian
2025-11-03 10:40:40 +01:00
committed by Quentin BEY
parent de3dfbb0c7
commit 4644bb4f47
2 changed files with 8 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ services:
- "8071:8000" - "8071:8000"
networks: networks:
default: {} default: {}
lasuite-net: lasuite:
aliases: aliases:
- impress - impress
volumes: volumes:
@@ -99,7 +99,7 @@ services:
- DJANGO_CONFIGURATION=Development - DJANGO_CONFIGURATION=Development
networks: networks:
- default - default
- lasuite-net - lasuite
env_file: env_file:
- env.d/development/common - env.d/development/common
- env.d/development/common.local - env.d/development/common.local
@@ -117,7 +117,7 @@ services:
- "8083:8083" - "8083:8083"
networks: networks:
default: {} default: {}
lasuite-net: lasuite:
aliases: aliases:
- nginx - nginx
volumes: volumes:
@@ -232,6 +232,6 @@ services:
restart: true restart: true
networks: networks:
lasuite-net: lasuite:
name: lasuite-net name: lasuite-network
driver: bridge driver: bridge

View File

@@ -78,8 +78,8 @@ Y_PROVIDER_API_KEY=yprovider-api-key
# Theme customization # Theme customization
THEME_CUSTOMIZATION_CACHE_TIMEOUT=15 THEME_CUSTOMIZATION_CACHE_TIMEOUT=15
# Indexer # Indexer (disabled)
SEARCH_INDEXER_CLASS="core.services.search_indexers.SearchIndexer" # SEARCH_INDEXER_CLASS="core.services.search_indexers.SearchIndexer"
SEARCH_INDEXER_SECRET=find-api-key-for-docs-with-exactly-50-chars-length # Key generated by create_demo in Find app. SEARCH_INDEXER_SECRET=find-api-key-for-docs-with-exactly-50-chars-length # Key generated by create_demo in Find app.
SEARCH_INDEXER_URL="http://find:8000/api/v1.0/documents/index/" SEARCH_INDEXER_URL="http://find:8000/api/v1.0/documents/index/"
SEARCH_INDEXER_QUERY_URL="http://find:8000/api/v1.0/documents/search/" SEARCH_INDEXER_QUERY_URL="http://find:8000/api/v1.0/documents/search/"