File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ MAINTAINER DevWurm <devwurm@devwurm.net>
4
4
5
5
COPY ./config /usr/share/elasticsearch/config
6
6
COPY ./scripts /usr/share/elasticsearch/config/scripts
7
+ COPY ./setup /usr/share/elasticsearch/setup
7
8
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
8
9
9
- ENV ES_HEAP_SIZE=3g
10
+ ENV ES_HEAP_SIZE=4g
10
11
11
12
EXPOSE 9200 9300
12
13
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if [ "$1" = 'elasticsearch' ]; then
29
29
30
30
echo Start Setup
31
31
gosu elasticsearch elasticsearch &
32
- sleep 15 && curl -XPOST " localhost:9200/wikiviews" --retry 10 --retry-delay 5 --data-binary /usr/share/elasticsearch/setup/wikiviews.index.json && echo ' true' > /SETUP_FLAG
32
+ sleep 15 && curl -XPOST " localhost:9200/wikiviews" --retry 10 --retry-delay 5 --data-binary " @ /usr/share/elasticsearch/setup/wikiviews.index.json" && echo ' true' > /SETUP_FLAG
33
33
fi
34
34
fi
35
35
File renamed without changes.
You can’t perform that action at this time.
0 commit comments