Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Describe the issue:
I use windows machine.
I am trying to run OpenSearch + dashboard with the docker- compose.yml file.
I want to mount maxmind database (C:\Binita\GeoLocation\MaxMind\GeoLite2-City.mmdb) with this.
But i am getting error while running “docker compose up”.
Please help me fixing this issue.
Configuration:
services:
opensearch-node1:
image: opensearchproject/opensearch:latest
container_name: opensearch-node1
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- discovery.type=single-node
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms8g -Xmx8g" # Increased memory
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=8zCsXBiUxvhWCJt
- plugins.security.disabled=true
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- opensearch-data1:/usr/share/opensearch/data
- /C/Binita/GeoLocation/MaxMind/:/usr/share/opensearch/config/geoip/
ports:
- 9200:9200
- 9600:9600
networks:
- opensearch-net
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:latest
container_name: opensearch-dashboards
ports:
- 5601:5601
environment:
- 'OPENSEARCH_HOSTS=["http://opensearch-node1:9200"]'
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
networks:
- opensearch-net
volumes:
opensearch-data1:
networks:
opensearch-net:
Relevant Logs or Screenshots:
Option Description
------ -----------
-E <KeyValuePair> Configure a setting
-V, --version Prints OpenSearch version information and exits
-d, --daemonize Starts OpenSearch in the background
-h, --help Show help
-p, --pidfile <Path> Creates a pid file in the specified path on start
-q, --quiet Turns off standard output/error streams logging in console
-s, --silent Show minimal output
-v, --verbose Show verbose output
ERROR: setting [plugins.security.disabled] already set, saw [true] and [true]
Disabling OpenSearch Security Plugin
Enabling execution of OPENSEARCH_HOME/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli for OpenSearch Performance Analyzer Plugin
WARNING: Using incubator modules: jdk.incubator.vector
WARNING: Unknown module: org.apache.arrow.memory.core specified to --add-opens