From 5e7dec2320e12845cd56835856fe0d3036ce75dc Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Mon, 18 Jun 2018 16:57:12 -0400 Subject: [PATCH] Only 1 instance per host allowed --- templates/eclipse-che-single/0/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/eclipse-che-single/0/docker-compose.yml b/templates/eclipse-che-single/0/docker-compose.yml index 8fda510..c3f780c 100644 --- a/templates/eclipse-che-single/0/docker-compose.yml +++ b/templates/eclipse-che-single/0/docker-compose.yml @@ -2,7 +2,6 @@ version: '2' services: che-server: image: eclipse/che-server:latest - container_name: eclipse-che dns: - 1.1.1.1 - 1.0.0.1 @@ -11,6 +10,7 @@ services: - CHE_PORT=${CHE_PORT} labels: io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE} + io.rancher.container.hostname_override: eclipse-che ports: - "${CHE_PORT}:8080" restart: on-failure