mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +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"
|
bootstrap.memory_lock: "true"
|
||||||
cluster.name: trains
|
cluster.name: trains
|
||||||
cluster.routing.allocation.node_initial_primaries_recoveries: "500"
|
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.zen.minimum_master_nodes: "1"
|
||||||
discovery.type: "single-node"
|
discovery.type: "single-node"
|
||||||
http.compression_level: "7"
|
http.compression_level: "7"
|
||||||
@ -58,8 +61,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
- /opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
||||||
ports:
|
|
||||||
- "9200:9200"
|
|
||||||
mongo:
|
mongo:
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
@ -70,8 +71,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/mongo/db:/data/db
|
- /opt/trains/data/mongo/db:/data/db
|
||||||
- /opt/trains/data/mongo/configdb:/data/configdb
|
- /opt/trains/data/mongo/configdb:/data/configdb
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
redis:
|
redis:
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
@ -80,8 +79,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/redis:/data
|
- /opt/trains/data/redis:/data
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
|
@ -39,6 +39,9 @@ services:
|
|||||||
bootstrap.memory_lock: "true"
|
bootstrap.memory_lock: "true"
|
||||||
cluster.name: trains
|
cluster.name: trains
|
||||||
cluster.routing.allocation.node_initial_primaries_recoveries: "500"
|
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.zen.minimum_master_nodes: "1"
|
||||||
discovery.type: "single-node"
|
discovery.type: "single-node"
|
||||||
http.compression_level: "7"
|
http.compression_level: "7"
|
||||||
@ -58,8 +61,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- c:/opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
- c:/opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
||||||
ports:
|
|
||||||
- "9200:9200"
|
|
||||||
|
|
||||||
fileserver:
|
fileserver:
|
||||||
networks:
|
networks:
|
||||||
@ -87,8 +88,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- c:/opt/trains/data/mongo/db:/data/db
|
- c:/opt/trains/data/mongo/db:/data/db
|
||||||
- c:/opt/trains/data/mongo/configdb:/data/configdb
|
- c:/opt/trains/data/mongo/configdb:/data/configdb
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
networks:
|
networks:
|
||||||
@ -98,8 +97,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- c:/opt/trains/data/redis:/data
|
- c:/opt/trains/data/redis:/data
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
webserver:
|
webserver:
|
||||||
command:
|
command:
|
||||||
|
@ -41,6 +41,9 @@ services:
|
|||||||
bootstrap.memory_lock: "true"
|
bootstrap.memory_lock: "true"
|
||||||
cluster.name: trains
|
cluster.name: trains
|
||||||
cluster.routing.allocation.node_initial_primaries_recoveries: "500"
|
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.zen.minimum_master_nodes: "1"
|
||||||
discovery.type: "single-node"
|
discovery.type: "single-node"
|
||||||
http.compression_level: "7"
|
http.compression_level: "7"
|
||||||
@ -60,8 +63,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
- /opt/trains/data/elastic_7:/usr/share/elasticsearch/data
|
||||||
ports:
|
|
||||||
- "9200:9200"
|
|
||||||
|
|
||||||
fileserver:
|
fileserver:
|
||||||
networks:
|
networks:
|
||||||
@ -88,8 +89,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/mongo/db:/data/db
|
- /opt/trains/data/mongo/db:/data/db
|
||||||
- /opt/trains/data/mongo/configdb:/data/configdb
|
- /opt/trains/data/mongo/configdb:/data/configdb
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
networks:
|
networks:
|
||||||
@ -99,8 +98,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/trains/data/redis:/data
|
- /opt/trains/data/redis:/data
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
webserver:
|
webserver:
|
||||||
command:
|
command:
|
||||||
|
Loading…
Reference in New Issue
Block a user