skip to Main Content

Make a container accessible to the host with docker-compose

What's the easiest way to make containers started with docker-compose accessible from the host machine? I have a simple docker-compose.yaml: services: redis-cluster1: image: grokzen/redis-cluster:5.0.12 ports: - "7000-7007:7000-7007" redis-cluster2: image: grokzen/redis-cluster:5.0.12 ports: - "7010-7017:7000-7007" redis-cluster3: image: grokzen/redis-cluster:5.0.12 ports: - "7020-7027:7000-7007" and…

VIEW QUESTION

ECONNREFUSED connecting kibana and elasticsearch with docker compose

I try to connect kibana with elasticsearch using a docker-compose but I got the error: Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED XXX:9200 This is my docker-compose : version: "2.2" services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION} volumes: - esdata01:/usr/share/elasticsearch/data…

VIEW QUESTION
Back To Top
Search