Skip to content

sebastian-ehrling/ddev-opensearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tests project is maintained

Installation

Uses opensearch official image

ddev get sebastian-ehrling/ddev-opensearch

Configuration

From within the container, the opensearh container is reached at hostname: "opensearch", port: 9200, so the server URL might be http://opensearch:9200. You can also use the "ddev.site" http and https urls to access it: http://<projectname>.ddev.site:9200, and https://<projectname>.ddev.site:9201

Connection

You can access the Opensearch server directly from the host for debugging purposes by visiting http://<projectname>.ddev.site:9200. Via https you can access Opensearch via https://<projectname>.ddev.site:9201

Memory Limit

This configuration limits memory usage to 512mb. This should be enough for most projects, but if your opensearch service stops with no obvious reason, increase your docker max memory and/or the service max memory via the - "ES_JAVA_OPTS=-Xms512m -Xmx512m" environment variable in docker-compose.opensearch.yaml.

You can use ddev logs -s opensearch to investigate what the elasticsearch daemon has been up to, or if you have a RAM-related crash.

Additional Resources

Maintained by @sebastian-ehrling

About

Opensearch add-on for DDEV

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%