Skip to content

Commit

Permalink
[Issue 3270] opensearch plugin (#3378)
Browse files Browse the repository at this point in the history
## Summary
Fixes #{[3270](#3270)}

### Time to review: __5 mins__

## Changes proposed
<img width="1710" alt="Screenshot 2024-12-31 at 10 29 00 AM"
src="https://github.com/user-attachments/assets/dae20981-52b7-4846-ab2b-61cc7518ce4b"
/>

Dockerfile For Opensearch with attachment plugin
Updated docker compose to use Dockerfile to build image
  • Loading branch information
babebe authored Jan 7, 2025
1 parent 70c1fc0 commit 8db3209
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
- default

opensearch-node:
image: opensearchproject/opensearch:latest
build:
context: .
dockerfile: opensearch/Dockerfile
container_name: opensearch-node
environment:
- cluster.name=opensearch-cluster # Name the cluster
Expand Down
9 changes: 9 additions & 0 deletions api/opensearch/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dockerfile for building opensearch image with Ingest-attachment plugin

# Use OpenSearch base image
FROM opensearchproject/opensearch:latest

# Install the Ingest Attachment plugin
# This image is only used for local development
RUN /usr/share/opensearch/bin/opensearch-plugin install --batch ingest-attachment

0 comments on commit 8db3209

Please sign in to comment.