...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
version: '3.3' services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2 # <--- get the latest version container_name: es01 environment: - node.name=es01 - cluster.name=es-docker-cluster - discovery.type=single-node - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" ulimits: memlock: soft: -1 hard: -1 volumes: - data01:/usr/share/elasticsearch/data ports: - 9200:9200 networks: - elastic k01: container_name: k01 image: docker.elastic.co/kibana/kibana:7.15.2 # <--- get the latest version environment: SERVER_NAME: kibana ELASTICSEARCH_HOSTS: http://es01:9200 ports: - 5601:5601 networks: - elastic volumes: data01: driver: local networks: elastic: driver: bridge |
Open all the ports indicated in the file on OpenStack and then launch, inside the folder just created, the the command (if the file name is different from docker-compose.yaml
, then specify it after the -f
option)
...