diff --git a/docker-compose-unified.yml b/docker-compose-unified.yml index 78e031e..afeb5e8 100644 --- a/docker-compose-unified.yml +++ b/docker-compose-unified.yml @@ -39,6 +39,9 @@ services: bootstrap.memory_lock: "true" cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" + cluster.routing.allocation.disk.watermark.low: 10gb + cluster.routing.allocation.disk.watermark.high: 10gb + cluster.routing.allocation.disk.watermark.flood_stage: 10gb discovery.zen.minimum_master_nodes: "1" discovery.type: "single-node" http.compression_level: "7" @@ -58,8 +61,6 @@ services: restart: unless-stopped volumes: - /opt/trains/data/elastic_7:/usr/share/elasticsearch/data - ports: - - "9200:9200" mongo: networks: - backend @@ -70,8 +71,6 @@ services: volumes: - /opt/trains/data/mongo/db:/data/db - /opt/trains/data/mongo/configdb:/data/configdb - ports: - - "27017:27017" redis: networks: - backend @@ -80,8 +79,6 @@ services: restart: unless-stopped volumes: - /opt/trains/data/redis:/data - ports: - - "6379:6379" networks: backend: diff --git a/docker-compose-win10.yml b/docker-compose-win10.yml index 5b12715..b44ddd3 100644 --- a/docker-compose-win10.yml +++ b/docker-compose-win10.yml @@ -39,6 +39,9 @@ services: bootstrap.memory_lock: "true" cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" + cluster.routing.allocation.disk.watermark.low: 10gb + cluster.routing.allocation.disk.watermark.high: 10gb + cluster.routing.allocation.disk.watermark.flood_stage: 10gb discovery.zen.minimum_master_nodes: "1" discovery.type: "single-node" http.compression_level: "7" @@ -58,8 +61,6 @@ services: restart: unless-stopped volumes: - c:/opt/trains/data/elastic_7:/usr/share/elasticsearch/data - ports: - - "9200:9200" fileserver: networks: @@ -87,8 +88,6 @@ services: volumes: - c:/opt/trains/data/mongo/db:/data/db - c:/opt/trains/data/mongo/configdb:/data/configdb - ports: - - "27017:27017" redis: networks: @@ -98,8 +97,6 @@ services: restart: unless-stopped volumes: - c:/opt/trains/data/redis:/data - ports: - - "6379:6379" webserver: command: diff --git a/docker-compose.yml b/docker-compose.yml index 7463b76..cd22685 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,6 +41,9 @@ services: bootstrap.memory_lock: "true" cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" + cluster.routing.allocation.disk.watermark.low: 10gb + cluster.routing.allocation.disk.watermark.high: 10gb + cluster.routing.allocation.disk.watermark.flood_stage: 10gb discovery.zen.minimum_master_nodes: "1" discovery.type: "single-node" http.compression_level: "7" @@ -60,8 +63,6 @@ services: restart: unless-stopped volumes: - /opt/trains/data/elastic_7:/usr/share/elasticsearch/data - ports: - - "9200:9200" fileserver: networks: @@ -88,8 +89,6 @@ services: volumes: - /opt/trains/data/mongo/db:/data/db - /opt/trains/data/mongo/configdb:/data/configdb - ports: - - "27017:27017" redis: networks: @@ -99,8 +98,6 @@ services: restart: unless-stopped volumes: - /opt/trains/data/redis:/data - ports: - - "6379:6379" webserver: command: