From 5bdbcfcd8da488130db68b1c916c75969596a6a2 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 10 Aug 2020 23:48:38 +0300 Subject: [PATCH] Update README and docker-compose files for v0.16.0 --- README.md | 22 +++++++++++----------- docker-compose-unified.yml | 10 +++------- docker-compose-win10.yml | 10 +++------- docker-compose.yml | 10 +++------- 4 files changed, 20 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 8ebaff5..768d7da 100644 --- a/README.md +++ b/README.md @@ -64,15 +64,15 @@ For example, to see if port `8080` is in use: Launch **trains-server** in any of the following formats: -- Pre-built [AWS EC2 AMI](https://github.com/allegroai/trains-server/blob/master/docs/install_aws.md) -- Pre-built [GCP Custom Image](https://github.com/allegroai/trains-server/blob/master/docs/install_gcp.md) +- Pre-built [AWS EC2 AMI](https://allegro.ai/docs/deploying_trains/trains_server_aws_ec2_ami/) +- Pre-built [GCP Custom Image](https://allegro.ai/docs/deploying_trains/trains_server_gcp/) - Pre-built Docker Image - - [Linux](https://github.com/allegroai/trains-server/blob/master/docs/install_linux_mac.md) - - [macOS](https://github.com/allegroai/trains-server/blob/master/docs/install_linux_mac.md) - - [Windows 10](https://github.com/allegroai/trains-server/blob/master/docs/install_win.md) + - [Linux](https://allegro.ai/docs/deploying_trains/trains_server_linux_mac/) + - [macOS](https://allegro.ai/docs/deploying_trains/trains_server_linux_mac/) + - [Windows 10](https://allegro.ai/docs/deploying_trains/trains_server_win/) - Kubernetes - - [Kubernetes Helm](https://github.com/allegroai/trains-server-helm#prerequisites) - - Manual [Kubernetes installation](https://github.com/allegroai/trains-server-k8s#prerequisites) + - [Kubernetes Helm](https://allegro.ai/docs/deploying_trains/trains_server_kubernetes_helm/) + - Manual [Kubernetes installation](https://allegro.ai/docs/deploying_trains/trains_server_kubernetes/) ## Connecting Trains to your trains-server @@ -124,8 +124,8 @@ Do not enqueue training / inference tasks into the `services` queue, as it will **trains-server** provides a few additional useful features, which can be manually enabled: -* [Web login authentication](https://github.com/allegroai/trains-server/blob/master/docs/faq.md#web-auth) -* [Non-responsive experiments watchdog](https://github.com/allegroai/trains-server/blob/master/docs/faq.md#watchdog-the-non-responsive-task-watchdog-settings) +* [Web login authentication](https://allegro.ai/docs/faq/faq/#web-auth) +* [Non-responsive experiments watchdog](https://allegro.ai/docs/faq/faq/#watchdog) ## Restarting trains-server @@ -191,12 +191,12 @@ To upgrade your existing **trains-server** deployment: docker-compose -f docker-compose.yml up ``` -**\* If something went wrong along the way, check our FAQ: [Common Docker Upgrade Errors](https://github.com/allegroai/trains-server/blob/master/docs/faq.md#common-docker-upgrade-errors).** +**\* If something went wrong along the way, check our FAQ: [Common Docker Upgrade Errors](https://allegro.ai/docs/faq/faq/#common-docker-upgrade-errors).** ## Community & Support -If you have any questions, look to the Trains server [FAQ](https://github.com/allegroai/trains-server/blob/master/docs/faq.md), or +If you have any questions, look to the Trains [FAQ](https://allegro.ai/docs/faq/faq/), or tag your questions on [stackoverflow](https://stackoverflow.com/questions/tagged/trains) with '**trains**' tag. For feature requests or bug reports, please use [GitHub issues](https://github.com/allegroai/trains-server/issues). diff --git a/docker-compose-unified.yml b/docker-compose-unified.yml index 4a9f800..78e031e 100644 --- a/docker-compose-unified.yml +++ b/docker-compose-unified.yml @@ -40,15 +40,11 @@ services: cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" discovery.zen.minimum_master_nodes: "1" + discovery.type: "single-node" http.compression_level: "7" node.ingest: "true" node.name: trains reindex.remote.whitelist: '*.*' - script.inline: "true" - script.painless.regex.enabled: "true" - script.update: "true" - thread_pool.bulk.queue_size: "2000" - thread_pool.search.queue_size: "10000" xpack.monitoring.enabled: "false" xpack.security.enabled: "false" ulimits: @@ -58,10 +54,10 @@ services: nofile: soft: 65536 hard: 65536 - image: docker.elastic.co/elasticsearch/elasticsearch:5.6.16 + image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 restart: unless-stopped volumes: - - /opt/trains/data/elastic:/usr/share/elasticsearch/data + - /opt/trains/data/elastic_7:/usr/share/elasticsearch/data ports: - "9200:9200" mongo: diff --git a/docker-compose-win10.yml b/docker-compose-win10.yml index 6d7d9f6..5b12715 100644 --- a/docker-compose-win10.yml +++ b/docker-compose-win10.yml @@ -40,15 +40,11 @@ services: cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" discovery.zen.minimum_master_nodes: "1" + discovery.type: "single-node" http.compression_level: "7" node.ingest: "true" node.name: trains reindex.remote.whitelist: '*.*' - script.inline: "true" - script.painless.regex.enabled: "true" - script.update: "true" - thread_pool.bulk.queue_size: "2000" - thread_pool.search.queue_size: "10000" xpack.monitoring.enabled: "false" xpack.security.enabled: "false" ulimits: @@ -58,10 +54,10 @@ services: nofile: soft: 65536 hard: 65536 - image: docker.elastic.co/elasticsearch/elasticsearch:5.6.16 + image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 restart: unless-stopped volumes: - - c:/opt/trains/data/elastic:/usr/share/elasticsearch/data + - c:/opt/trains/data/elastic_7:/usr/share/elasticsearch/data ports: - "9200:9200" diff --git a/docker-compose.yml b/docker-compose.yml index dff76d1..7463b76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,15 +42,11 @@ services: cluster.name: trains cluster.routing.allocation.node_initial_primaries_recoveries: "500" discovery.zen.minimum_master_nodes: "1" + discovery.type: "single-node" http.compression_level: "7" node.ingest: "true" node.name: trains reindex.remote.whitelist: '*.*' - script.inline: "true" - script.painless.regex.enabled: "true" - script.update: "true" - thread_pool.bulk.queue_size: "2000" - thread_pool.search.queue_size: "10000" xpack.monitoring.enabled: "false" xpack.security.enabled: "false" ulimits: @@ -60,10 +56,10 @@ services: nofile: soft: 65536 hard: 65536 - image: docker.elastic.co/elasticsearch/elasticsearch:5.6.16 + image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 restart: unless-stopped volumes: - - /opt/trains/data/elastic:/usr/share/elasticsearch/data + - /opt/trains/data/elastic_7:/usr/share/elasticsearch/data ports: - "9200:9200"