mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
refactor: move database to monorepo
This commit is contained in:
16
backend/database/Dockerfile
Normal file
16
backend/database/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM elasticsearch:5.6-alpine
|
||||
|
||||
# log4j2
|
||||
RUN echo "-Dlog4j2.formatMsgNoLookups=true" >> /usr/share/elasticsearch/config/jvm.options
|
||||
|
||||
ADD config/ /usr/share/elasticsearch/config/
|
||||
|
||||
USER root
|
||||
|
||||
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
|
||||
|
||||
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
|
||||
|
||||
USER elasticsearch
|
||||
|
||||
CMD ["/usr/share/elasticsearch/bin/elasticsearch"]
|
||||
Reference in New Issue
Block a user