Commit 2bd2e094 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Cambia volumen para pro y omite config inválida

El volumen pasa de ser io1 a gp2, más barato.
Los parámetros de 'ulimits' no están soportados por Docker Swarm,
pasan a compose de dev.
parent 55f6c6a9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@ services:
      - ES_CLUSTER_NAME=elasticsearch_dev
      - ES_NODE_NAME=node-1
      - ES_DISCOVERY_ZEN_MINIMUM_MASTER_NODES=1
    ulimits:
      memlock:
        soft: -1
        hard: -1

volumes:
  elasticsearch-vol:
+1 −2
Original line number Diff line number Diff line
@@ -31,5 +31,4 @@ volumes:
    driver_opts:
      backing: relocatable
      size: 25
      ebstype: io1
      iops: 100
      ebstype: gp2
+0 −4
Original line number Diff line number Diff line
@@ -14,10 +14,6 @@ services:
      - ELASTIC_USER
      - ELASTIC_USER_PASS
      - ELASTIC_USER_ROLE
    ulimits:
      memlock:
        soft: -1
        hard: -1
    healthcheck:
      test: curl -sSf -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" http://localhost:${PORT1}/_cluster/health > /dev/null
      interval: 30s