Commit b60da461 authored by Ignacio's avatar Ignacio
Browse files

Añade config para nodo 3 y descubrimiento de nodos

parent 95dfcfe9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ services:
    environment:
      - cluster.name=${ES_CLUSTER_NAME:-es_dev}
      - discovery.zen.minimum_master_nodes=${ES_DISCOVERY_ZEN_MINIMUM_MASTER_NODES:-1}
      - discovery.zen.ping.unicast.hosts=${ES_DISCOVERY_ZEN_PING_UNICAST_HOSTS:-['es6-1']}

volumes:
  es-data-vol:
+14 −0
Original line number Diff line number Diff line
version: '3.5'

services:
  es6-3:
    environment:
      - cluster.name=${ES_CLUSTER_NAME:-es_dev}
      - discovery.zen.minimum_master_nodes=${ES_DISCOVERY_ZEN_MINIMUM_MASTER_NODES:-1}

volumes:
  es-data-vol:
    name: "${ES_DATA_VOL_NAME:-es6-3-vol}"

  es-conf-vol:
    name: "${ES_CONF_VOL_NAME:-es6-3-conf-vol}"
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ services:
    environment:
      - cluster.name=${ES_CLUSTER_NAME:-es_pro}
      - discovery.zen.minimum_master_nodes=${ES_DISCOVERY_ZEN_MINIMUM_MASTER_NODES:-2}
      - discovery.zen.ping.unicast.hosts=${ES_DISCOVERY_ZEN_PING_UNICAST_HOSTS:-['es6-1', 'es6-2']}
      - cloud.aws.s3.access_key=${ES_CLOUD_AWS_S3_ACCESS_KEY}
      - cloud.aws.s3.secret_key=${ES_CLOUD_AWS_S3_SECRET_KEY}
    deploy:
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ services:
      - path.data=${ES_PATH_DATA}
      - network.host=${ES_NETWORK_HOST}
      - bootstrap.memory_lock=${ES_BOOTSTRAP_MEMORY_LOCK}
      - discovery.zen.ping.unicast.hosts=${ES_DISCOVERY_ZEN_PING_UNICAST_HOSTS:-['es6-1', 'es6-2']}
    networks:
      elastic6-net:
        aliases: