mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 02:46:53 +00:00
Update docker-compose files: set low ES watermarks, don't expose ES, Redis and MongoDB ports by default
This commit is contained in:
parent
b93591ec32
commit
ba3451ce5a
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user