Created
December 19, 2023 00:31
-
-
Save kwhandy/fd8fd5ec4913b12e47c876a9edd153db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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