Perhaps try an .env
file and reference the password:
.env
file:
ELASTIC_PASSWORD=elastic123
Dockerfile:
...
ENV ELASTIC_PASSWORD=$ELASTIC_PASSWORD
...
This is lifted from what I found here.
Perhaps try an .env
file and reference the password:
.env
file:
ELASTIC_PASSWORD=elastic123
Dockerfile:
...
ENV ELASTIC_PASSWORD=$ELASTIC_PASSWORD
...
This is lifted from what I found here.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.