version: \'2.2\' services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:7.9.1 container_name: es01 environment: - node.name=es01