Service type
Elasticsearch service
Self-hosted Elasticsearch search service for indexing application data, full-text queries, and search analytics.
Use it as a reusable, versioned service inside custom or predefined stacks so teams can keep the runtime and operational model consistent.
On Wodby
How Elasticsearch runs on Wodby
How applications reach it
- URL:
http://<app service name>:9200. Security is on (xpack.security.enabled), TLS on the HTTP layer is off: use plainhttp://with HTTP Basic authentication. - User
elastic, the built-in superuser. Its password is generated by Wodby (tokenpassword) and is inELASTIC_PASSWORDinside this container. - A service linked to this one receives host, port and the password in variables named by the linking service; read them in code and do not copy the password into the repository.
- Port
9200is private: no public route is created. Port9300is the transport port and is not for applications.
What is configured
discovery.typeissingle-node; the service is not scalable. An index with replicas stays yellow because there is no second node: create indices with zero replicas.- The cluster name is built from the application and environment names.
node.store.allow_mmapisfalse.- The JVM heap comes from
ES_JAVA_OPTS(the manifest sets a fixed heap). The container memory limit must leave room above the heap. - A second password (token
kibana_password) is generated for the built-inkibana_systemuser. A start-up hook sets it through the security API once the node answers. A linked Kibana service connects with that user; do not usekibana_systemfrom applications and do not give Kibana theelasticpassword.
Changing configuration
Elasticsearch settings are environment variables on this service, named exactly like the setting (for example cluster.name). Do not mount an elasticsearch.yml. Turning security off or HTTP TLS on changes how every linked service must connect, Kibana included.
Data
Indices are in /usr/share/elasticsearch/data on the data volume. The manifest declares no backups, imports or actions; snapshots need a repository configured in Elasticsearch itself.
Check the result
From this service's container:
curl -s -u "elastic:$ELASTIC_PASSWORD" http://localhost:9200/_cluster/health?prettycurl -s -u "elastic:$ELASTIC_PASSWORD" http://localhost:9200/_cat/indices?v
Overview
Technical profile and packaging
Versions
Source repository
Public Helm chart
Ports and protocols
Labels
Persistent volumes
Stacks
Use it inside ready-made stacks or your own
Runtime wiring
Reuse connectivity, storage, and runtime defaults
Endpoints
Technical domains
Volumes