diff --git a/compose.yml b/compose.yml index a24a3974..1873d604 100644 --- a/compose.yml +++ b/compose.yml @@ -73,8 +73,10 @@ services: ports: - "8071:8000" networks: - - default - - lasuite-net + default: {} + lasuite-net: + aliases: + - impress volumes: - ./src/backend:/app - ./data/static:/data/static @@ -95,6 +97,9 @@ services: command: ["celery", "-A", "impress.celery_app", "worker", "-l", "DEBUG"] environment: - DJANGO_CONFIGURATION=Development + networks: + - default + - lasuite-net env_file: - env.d/development/common - env.d/development/common.local @@ -110,6 +115,11 @@ services: image: nginx:1.25 ports: - "8083:8083" + networks: + default: {} + lasuite-net: + aliases: + - nginx volumes: - ./docker/files/etc/nginx/conf.d:/etc/nginx/conf.d:ro depends_on: diff --git a/env.d/development/common b/env.d/development/common index 839bc246..7ad7589f 100644 --- a/env.d/development/common +++ b/env.d/development/common @@ -76,4 +76,10 @@ Y_PROVIDER_API_BASE_URL=http://y-provider-development:4444/api/ Y_PROVIDER_API_KEY=yprovider-api-key # Theme customization -THEME_CUSTOMIZATION_CACHE_TIMEOUT=15 \ No newline at end of file +THEME_CUSTOMIZATION_CACHE_TIMEOUT=15 + +# Indexer +SEARCH_INDEXER_CLASS="core.services.search_indexers.FindDocumentIndexer" +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_QUERY_URL="http://find:8000/api/v1.0/documents/search/"