Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 2.48 KB

README.md

File metadata and controls

55 lines (44 loc) · 2.48 KB

Purpose

Topology Drawn with: https://www.draw.io/?mode=github Todo: Redraw this using mermaid.js

Setup

  1. Copy .env.template to .env and update with your property values
  2. Run docker-compose up

Features

  • Creates named volumes to persist across restarts. You have to remove the named volume to restore to original
  • Kibana web UI is on http://localhost:5601
  • Installs analysis-icu and analysis-phonetic on startup and not in a Dockerfile. This implies Internet access.

Docker Management

See README.md in the root of this repo for interesting docker commands.

IDE Integration

No IDE integrations specific to this project are called out at this time.

Troubleshooting max_map_count error

You may see this when running Docker in WSL/WSL2 on Microsoft Windows max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

In the kernel

You can probably fix this in the kernel config in the WSL linux VM. I haven't done that

Change all Linux WSL VMs to have the same configuration.

A bute force fix is edit the wsl config files for all of WSL (.wslconfig). This configures all the VMs that wsl instances run. Alternatively, you can change the setting for just the WSL Docker VM (wsl.conf file).

  1. Create a .wslconfig file in %userprofile% probably C:\Users\<UserName>\.wslconfig.
  2. Put this code in the .wslconfig file and save the file
wsl -d docker-desktop
sudo sysctl -w vm.max_map_count=262144
  1. Shutdown wsl and restart docker desktop
wsl --shutdown

Change just a single WSL Linux VM using wsl.conf

You can put add a section to /etc/wsl.conf in just the docker VM. I haven't done this so check the docs

Manual command after every restart restart

This temporary alternative works but needs to run every time you restart Docker. Run this from powershell on the Windows host. wsl -d docker-desktop sysctl -w vm.max_map_count=262144

Discussions of this issue can be found here