Skip to content

Commit 5ece51c

Browse files
committed
🔧(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>
1 parent 76a2bbd commit 5ece51c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ services:
7474
- "8071:8000"
7575
networks:
7676
default: {}
77-
lasuite-net:
77+
lasuite:
7878
aliases:
7979
- impress
8080
volumes:
@@ -99,7 +99,7 @@ services:
9999
- DJANGO_CONFIGURATION=Development
100100
networks:
101101
- default
102-
- lasuite-net
102+
- lasuite
103103
env_file:
104104
- env.d/development/common
105105
- env.d/development/common.local
@@ -117,7 +117,7 @@ services:
117117
- "8083:8083"
118118
networks:
119119
default: {}
120-
lasuite-net:
120+
lasuite:
121121
aliases:
122122
- nginx
123123
volumes:
@@ -232,6 +232,6 @@ services:
232232
restart: true
233233

234234
networks:
235-
lasuite-net:
236-
name: lasuite-net
235+
lasuite:
236+
name: lasuite-network
237237
driver: bridge

env.d/development/common

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Y_PROVIDER_API_KEY=yprovider-api-key
7878
# Theme customization
7979
THEME_CUSTOMIZATION_CACHE_TIMEOUT=15
8080

81-
# Indexer
82-
SEARCH_INDEXER_CLASS="core.services.search_indexers.SearchIndexer"
83-
SEARCH_INDEXER_SECRET=find-api-key-for-docs-with-exactly-50-chars-length # Key generated by create_demo in Find app.
81+
# Indexer (disabled)
82+
# SEARCH_INDEXER_CLASS="core.services.search_indexers.SearchIndexer"
83+
SEARCH_INDEXER_SECRET=find-api-key-for-docs-with-exactly-50-chars-length # Key generated by create_demo in Find app.
8484
SEARCH_INDEXER_URL="http://find:8000/api/v1.0/documents/index/"
8585
SEARCH_INDEXER_QUERY_URL="http://find:8000/api/v1.0/documents/search/"

0 commit comments

Comments
 (0)