mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
add homework 6.5: task 1
This commit is contained in:
12
src/homework/06-database/6.5/elasticsearch/Dockerfile
Normal file
12
src/homework/06-database/6.5/elasticsearch/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM elasticsearch:7.16.3
|
||||
|
||||
ENV NODE_NAME=netology_test
|
||||
ENV DISCOVERY_TYPE=single-node
|
||||
ENV ES_HEAP_SIZE=262144
|
||||
|
||||
RUN mkdir -m 774 -p /var/lib/elasticsearch-data \
|
||||
&& chown elasticsearch -R /var/lib/elasticsearch-data \
|
||||
&& mkdir -m 774 -p /var/log/elasticsearch \
|
||||
&& chown elasticsearch -R /var/log/elasticsearch
|
||||
|
||||
COPY ./elasticsearch.yml /usr/share/elasticsearch/config/elasticsearch.yml
|
||||
Reference in New Issue
Block a user