mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
migrate database to monorepo
This commit is contained in:
17
backend/database/Dockerfile
Normal file
17
backend/database/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM elasticsearch:8.4.2
|
||||
|
||||
EXPOSE 9200
|
||||
EXPOSE 9300
|
||||
|
||||
|
||||
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