diff --git a/comps/dataprep/opensearch/langchain/docker-compose-dataprep-only.yaml b/comps/dataprep/opensearch/langchain/docker-compose-dataprep-only.yaml index c4118178b1..ca77fdfe76 100644 --- a/comps/dataprep/opensearch/langchain/docker-compose-dataprep-only.yaml +++ b/comps/dataprep/opensearch/langchain/docker-compose-dataprep-only.yaml @@ -18,6 +18,8 @@ services: TEI_ENDPOINT: ${TEI_ENDPOINT} HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN} restart: unless-stopped + security_opt: + - no-new-privileges:true networks: default: diff --git a/comps/dataprep/opensearch/langchain/docker-compose-dataprep-opensearch.yaml b/comps/dataprep/opensearch/langchain/docker-compose-dataprep-opensearch.yaml index 456acc5e8d..325b96ed89 100644 --- a/comps/dataprep/opensearch/langchain/docker-compose-dataprep-opensearch.yaml +++ b/comps/dataprep/opensearch/langchain/docker-compose-dataprep-opensearch.yaml @@ -28,6 +28,8 @@ services: - 9600:9600 # required for Performance Analyzer networks: - opensearch-net + security_opt: + - no-new-privileges:true tei-embedding-service: image: ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 container_name: tei-embedding-server @@ -56,6 +58,8 @@ services: TEI_ENDPOINT: ${TEI_ENDPOINT} HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN} restart: unless-stopped + security_opt: + - no-new-privileges:true networks: default: