python elasticsearch docker from within other container

Solutions on MaxInterview for python elasticsearch docker from within other container by the best coders in the world

showing results for - "python elasticsearch docker from within other container"
Magdalena
21 Sep 2017
1version: '3'
2
3services:
4  elasticsearch:
5    build: elasticsearch/
6    ports: 
7      - 9200:9200
8    networks:
9      - deploy_network
10    container_name: elasticsearch
11
12  indexer:
13    build: indexer/
14    depends_on:
15      - elasticsearch
16    networks:
17      - deploy_network
18    container_name: indexer
19
20networks:
21  deploy_network:
22    driver: bridge