Skip to content

Instantly share code, notes, and snippets.

@kwhandy
Created December 19, 2023 00:31
Show Gist options
  • Save kwhandy/fd8fd5ec4913b12e47c876a9edd153db to your computer and use it in GitHub Desktop.
Save kwhandy/fd8fd5ec4913b12e47c876a9edd153db to your computer and use it in GitHub Desktop.
version: "3.8"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.10
container_name: search-server
ports:
- "9200:9200"
environment:
- discovery.type=single-node
- cluster.name=mecha
- cluster.routing.allocation.disk.threshold_enabled=false
redis:
# `sudo apt-get install redis-tools` to connect redis using local redis-cli
image: redis:7
container_name: cache-server
ports:
- "6379:6379"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment