Skip to content

Commit

Permalink
Replace elasticsearch/kibana with opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Feb 26, 2025
1 parent 031aa0a commit 75d4245
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 52 deletions.
9 changes: 3 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,10 @@ VARNISH_TAG=6.0-4.19.1

SOLR_TAG=9-5.1.3

### --- ELASTICSEARCH ---
### --- OPENSEARCH ---

ELASTICSEARCH_TAG=7-5.19.14

### --- KIBANA ---

KIBANA_TAG=7-5.19.14
OPENSEARCH_TAG=2
OPENSEARCH_ADMIN_PASSWORD=VERY%@bad123password

### OTHERS

Expand Down
60 changes: 28 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@ up a local environment for WordPress on Linux, macOS and Windows.

The WordPress stack consist of the following containers:

| Container | Versions | Image | ARM64 support | Enabled by default |
|-----------------|------------------------|-------------------------|---------------|--------------------|
| [Nginx] | 1.27, 1.26 | [wodby/nginx] |||
| [Apache] | 2.4 | [wodby/apache] || |
| [WordPress] | 6 | [wodby/wordpress] |||
| [PHP] | 8.4, 8.3, 8.2, 8.1 | [wodby/wordpress-php] || |
| Crond | | [wodby/wordpress-php] |||
| [MariaDB] | 11.4, 10.6, 10.5, 10.4 | [wodby/mariadb] |||
| [Valkey] | 8, 7 | [wodby/valkey] || |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Varnish] | 6.0 | [wodby/varnish] || |
| [Node.js] | 22, 20, 18 | [wodby/node] || |
| [Solr] | 9 | [wodby/solr] || |
| [Elasticsearch] | 7 | [wodby/elasticsearch] | | |
| [Kibana] | 7 | [wodby/kibana] | | |
| Gotenberg | latest | [gotenberg/gotenberg] || |
| Mailpit | latest | [axllent/mailpit] |||
| [OpenSMTPD] | 7 | [wodby/opensmtpd] || |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| [Webgrind] | 1 | [wodby/webgrind] || |
| [XHProf viewer] | latest | [wodby/xhprof] || |
| Adminer | 4.6 | [wodby/adminer] || |
| phpMyAdmin | latest | [phpmyadmin/phpmyadmin] | | |
| Traefik | latest | [_/traefik] |||
| Container | Versions | Image | ARM64 support | Enabled by default |
|-----------------------|------------------------|------------------------------------------|---------------|--------------------|
| [Nginx] | 1.27, 1.26 | [wodby/nginx] |||
| [Apache] | 2.4 | [wodby/apache] || |
| [WordPress] | 6 | [wodby/wordpress] |||
| [PHP] | 8.4, 8.3, 8.2, 8.1 | [wodby/wordpress-php] || |
| Crond | | [wodby/wordpress-php] |||
| [MariaDB] | 11.4, 10.6, 10.5, 10.4 | [wodby/mariadb] |||
| [Valkey] | 8, 7 | [wodby/valkey] || |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Varnish] | 6.0 | [wodby/varnish] || |
| [Node.js] | 22, 20, 18 | [wodby/node] || |
| [Solr] | 9 | [wodby/solr] || |
| OpenSearch | 2 | [opensearchproject/opensearch] | | |
| OpenSearch Dashboards | 2 | [opensearchproject/opensearch-dashboard] | | |
| Gotenberg | latest | [gotenberg/gotenberg] || |
| Mailpit | latest | [axllent/mailpit] |||
| [OpenSMTPD] | 7 | [wodby/opensmtpd] || |
| [Rsyslog] | latest | [wodby/rsyslog] | | |
| [Webgrind] | 1 | [wodby/webgrind] || |
| [XHProf viewer] | latest | [wodby/xhprof] || |
| Adminer | 4.6 | [wodby/adminer] || |
| phpMyAdmin | latest | [phpmyadmin/phpmyadmin] | | |
| Traefik | latest | [_/traefik] |||

## Documentation

Expand Down Expand Up @@ -87,10 +87,6 @@ This project is licensed under the MIT open source license.

[Apache]: https://wodby.com/docs/stacks/wordpress/containers#apache

[Elasticsearch]: https://wodby.com/docs/stacks/elasticsearch

[Kibana]: https://wodby.com/docs/stacks/elasticsearch

[MariaDB]: https://wodby.com/docs/stacks/wordpress/containers#mariadb

[Memcached]: https://wodby.com/docs/stacks/wordpress/containers#memcached
Expand Down Expand Up @@ -129,10 +125,6 @@ This project is licensed under the MIT open source license.

[wodby/apache]: https://github.com/wodby/apache

[wodby/elasticsearch]: https://github.com/wodby/elasticsearch

[wodby/kibana]: https://github.com/wodby/kibana

[wodby/mariadb]: https://github.com/wodby/mariadb

[wodby/memcached]: https://github.com/wodby/memcached
Expand All @@ -158,3 +150,7 @@ This project is licensed under the MIT open source license.
[wodby/wordpress]: https://github.com/wodby/wordpress

[wodby/xhprof]: https://github.com/wodby/xhprof

[opensearchproject/opensearch]: https://hub.docker.com/r/opensearchproject/opensearch

[opensearchproject/opensearch]: https://hub.docker.com/r/opensearchproject/opensearch-dashboards
29 changes: 15 additions & 14 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,23 +162,24 @@ services:
# labels:
# - "traefik.http.services.${PROJECT_NAME}_solr.loadbalancer.server.port=8983"
# - "traefik.http.routers.${PROJECT_NAME}_solr.rule=Host(`solr.${PROJECT_BASE_URL}`)"

# elasticsearch:
# image: wodby/elasticsearch:$ELASTICSEARCH_TAG

# opensearch:
# image: opensearchproject/opensearch:$OPENSEARCH_TAG
# environment:
# "discovery.type": "single-node"
# "plugins.security.disabled": true
# OPENSEARCH_INITIAL_ADMIN_PASSWORD: $OPENSEARCH_ADMIN_PASSWORD
#
# opensearch-dashboards:
# image: opensearchproject/opensearch-dashboards:$OPENSEARCH_TAG
# environment:
# ES_JAVA_OPTS: "-Xms500m -Xmx500m"
# ulimits:
# memlock:
# soft: -1
# hard: -1

# kibana:
# image: wodby/kibana:$KIBANA_TAG
# OPENSEARCH_HOSTS: '["http://opensearch:9200"]'
# DISABLE_SECURITY_DASHBOARDS_PLUGIN: true
# depends_on:
# - elasticsearch
# - opensearch
# labels:
# - "traefik.http.services.${PROJECT_NAME}_kibana.loadbalancer.server.port=5601"
# - "traefik.http.routers.${PROJECT_NAME}_kibana.rule=Host(`kibana.${PROJECT_BASE_URL}`)"
# - "traefik.http.services.${PROJECT_NAME}_opensearch.loadbalancer.server.port=5601"
# - "traefik.http.routers.${PROJECT_NAME}_opensearch.rule=Host(`opensearch.${PROJECT_BASE_URL}`)"

# node:
# image: wodby/node:$NODE_TAG
Expand Down

0 comments on commit 75d4245

Please sign in to comment.