diff --git a/mesos-templates/marathon/1/docker-compose.yml b/mesos-templates/marathon/1/docker-compose.yml index cde29dd..bb3c19b 100644 --- a/mesos-templates/marathon/1/docker-compose.yml +++ b/mesos-templates/marathon/1/docker-compose.yml @@ -4,6 +4,8 @@ marathon: ZK_SERVICE: Mesos/zookeeper MESOS_SERVICE: Mesos/mesos-master MARATHON_HTTP_PORT: ${MARATHON_HTTP_PORT} + labels: + io.rancher.container.hostname_override: container_name ports: - "${MARATHON_HTTP_PORT}:${MARATHON_HTTP_PORT}" - privileged: true \ No newline at end of file + privileged: true