mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Merge pull request #171 from haiwen/elas-with-ik
add elasticsearch-with-ik Dockerfile
This commit is contained in:
commit
1b2f369757
|
@ -1,4 +1,4 @@
|
||||||
server_version=7.0.1
|
server_version=7.0.4
|
||||||
|
|
||||||
base_image=seafileltd/base-mc:18.04
|
base_image=seafileltd/base-mc:18.04
|
||||||
base_image_squashed=seafileltd/base-mc:18.04-squashed
|
base_image_squashed=seafileltd/base-mc:18.04-squashed
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM seafileltd/pro-base-mc:18.04
|
FROM seafileltd/pro-base-mc:18.04
|
||||||
WORKDIR /opt/seafile
|
WORKDIR /opt/seafile
|
||||||
|
|
||||||
ENV SEAFILE_VERSION=7.0.1 SEAFILE_SERVER=seafile-pro-server
|
ENV SEAFILE_VERSION=7.0.7 SEAFILE_SERVER=seafile-pro-server
|
||||||
|
|
||||||
RUN mkdir -p /etc/my_init.d
|
RUN mkdir -p /etc/my_init.d
|
||||||
|
|
||||||
|
|
5
image/seafile-elasticsearch/Dockerfile
Normal file
5
image/seafile-elasticsearch/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FROM elasticsearch:5.6.16
|
||||||
|
|
||||||
|
ADD elasticsearch-analysis-ik-5.6.16.tar /usr/share/elasticsearch/plugins/
|
||||||
|
|
||||||
|
RUN chown -R elasticsearch.elasticsearch /usr/share/elasticsearch/plugins/ik
|
BIN
image/seafile-elasticsearch/elasticsearch-analysis-ik-5.6.16.tar
Normal file
BIN
image/seafile-elasticsearch/elasticsearch-analysis-ik-5.6.16.tar
Normal file
Binary file not shown.
|
@ -3,7 +3,7 @@ WORKDIR /opt/seafile
|
||||||
|
|
||||||
RUN mkdir -p /etc/my_init.d
|
RUN mkdir -p /etc/my_init.d
|
||||||
|
|
||||||
ENV SEAFILE_VERSION=6.3.4 SEAFILE_SERVER=seafile-server
|
ENV SEAFILE_VERSION=7.0.4 SEAFILE_SERVER=seafile-server
|
||||||
|
|
||||||
RUN mkdir -p /opt/seafile/ && \
|
RUN mkdir -p /opt/seafile/ && \
|
||||||
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
|
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
|
||||||
|
|
Loading…
Reference in a new issue