image: Specify the image to use container_name: Specify the name of the image environment: Specify the environment configuration
cluster.name=: Specify the cluster name. When the cluster name is the same, it will form a cluster discovery.seed_hosts=: IP addresses or domain names of other nodes in the cluster cluster.initial_master_nodes=: Specify the master nodes in the cluster. If multiple nodes are specified, the master node will be automatically elected. ES_JAVA_OPTS=-Xms1g -Xmx1g: Configure heap memory size. The default is 1G. It is recommended to set the minimum heap memory and maximum heap memory to the same size.
volumes: Specify the data volume mapping ports: Specify the port mapping networks: Specify the network configuration