mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
remove community seafile at cluster
This commit is contained in:
parent
0594201271
commit
9f97e214c3
|
@ -25,13 +25,6 @@ base:
|
|||
docker tag $(base_image_squashed) $(base_image)
|
||||
docker rmi `docker images --filter "dangling=true" -q --no-trunc`
|
||||
|
||||
server:
|
||||
cd seafile && cp -rf ../../../templates ./ && cp -rf ../../scripts ./ && docker build -t $(server_image) .
|
||||
docker-squash --tag $(server_image_squashed) $(server_image) --from-layer=$(base_image)
|
||||
docker tag $(server_image_squashed) $(server_image)
|
||||
docker tag $(server_image) $(latest_server_image)
|
||||
docker rmi `docker images --filter "dangling=true" -q --no-trunc`
|
||||
|
||||
pro-base:
|
||||
cd pro_base && docker build -t $(pro_base_image) .
|
||||
docker-squash --tag $(pro_base_image_squashed) $(pro_base_image)
|
||||
|
@ -52,10 +45,6 @@ push-pro-base:
|
|||
docker tag $(pro_base_image) ${host}/$(pro_base_image)
|
||||
docker push ${host}/$(pro_base_image)
|
||||
|
||||
push-server:
|
||||
docker push $(server_image)
|
||||
docker push $(latest_server_image)
|
||||
|
||||
push-pro-server:
|
||||
docker tag $(pro_server_image) ${host}/$(pro_server_image)
|
||||
docker tag $(pro_server_image) ${host}/$(latest_pro_server_image)
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
FROM seafileltd/base:16.04
|
||||
WORKDIR /opt/seafile
|
||||
|
||||
RUN mkdir -p /etc/my_init.d
|
||||
|
||||
ENV SEAFILE_VERSION=6.2.5 SEAFILE_SERVER=seafile-server
|
||||
|
||||
RUN mkdir -p /opt/seafile/ && \
|
||||
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
|
||||
| tar xzf - -C /opt/seafile/
|
||||
|
||||
ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
|
||||
|
||||
COPY scripts /scripts
|
||||
COPY templates /templates
|
||||
COPY bootstrap.conf /opt/bootstrap.conf
|
||||
|
||||
CMD ["/sbin/my_init", "--", "/scripts/start.py"]
|
|
@ -1,8 +0,0 @@
|
|||
# If you edit this file, remember to run ./launcher rebuild
|
||||
[server]
|
||||
server.hostname = seafile.example.com
|
||||
admin.email = me@example.com
|
||||
admin.password = asecret
|
||||
|
||||
# uncomment the one lines below to use letsencrypt SSL certificate
|
||||
# server.letsencrypt = true
|
Loading…
Reference in a new issue