mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Merge branch '8.0.4'
This commit is contained in:
commit
73531a6903
|
@ -1,7 +1,7 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
seafile-server:
|
seafile-server:
|
||||||
image: ggogel/seafile-server:8.0.3
|
image: ggogel/seafile-server:8.0.4
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-data:/shared
|
- seafile-data:/shared
|
||||||
environment:
|
environment:
|
||||||
|
@ -18,7 +18,7 @@ services:
|
||||||
endpoint_mode: dnsrr
|
endpoint_mode: dnsrr
|
||||||
|
|
||||||
seahub:
|
seahub:
|
||||||
image: ggogel/seahub:8.0.3
|
image: ggogel/seahub:8.0.4
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-data:/shared
|
- seafile-data:/shared
|
||||||
- seahub-avatars:/shared/seafile/seahub-data/avatars
|
- seahub-avatars:/shared/seafile/seahub-data/avatars
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
seafile-server:
|
seafile-server:
|
||||||
image: ggogel/seafile-server:8.0.3
|
image: ggogel/seafile-server:8.0.4
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-data:/shared
|
- seafile-data:/shared
|
||||||
environment:
|
environment:
|
||||||
|
@ -18,7 +18,7 @@ services:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
seahub:
|
seahub:
|
||||||
image: ggogel/seahub:8.0.3
|
image: ggogel/seahub:8.0.4
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-data:/shared
|
- seafile-data:/shared
|
||||||
- seahub-avatars:/shared/seafile/seahub-data/avatars
|
- seahub-avatars:/shared/seafile/seahub-data/avatars
|
||||||
|
@ -33,7 +33,7 @@ services:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
|
|
||||||
seahub-media:
|
seahub-media:
|
||||||
image: ggogel/seahub-media:8.0.3
|
image: ggogel/seahub-media:8.0.4
|
||||||
volumes:
|
volumes:
|
||||||
- seahub-avatars:/usr/share/caddy/media/avatars
|
- seahub-avatars:/usr/share/caddy/media/avatars
|
||||||
- seahub-custom:/usr/share/caddy/media/custom
|
- seahub-custom:/usr/share/caddy/media/custom
|
||||||
|
|
|
@ -2,7 +2,7 @@ FROM alpine:3.13 AS get
|
||||||
|
|
||||||
RUN apk add --no-cache wget
|
RUN apk add --no-cache wget
|
||||||
|
|
||||||
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.3
|
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.4
|
||||||
|
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
|
wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
|
||||||
|
@ -28,7 +28,7 @@ python3-jinja2 \
|
||||||
python3-sqlalchemy \
|
python3-sqlalchemy \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV SEAFILE_VERSION=8.0.3
|
ENV SEAFILE_VERSION=8.0.4
|
||||||
|
|
||||||
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
|
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
|
||||||
COPY scripts /scripts
|
COPY scripts /scripts
|
||||||
|
|
|
@ -52,8 +52,6 @@ def main():
|
||||||
check_upgrade()
|
check_upgrade()
|
||||||
os.chdir(installdir)
|
os.chdir(installdir)
|
||||||
|
|
||||||
fix_gunicorn_bind()
|
|
||||||
|
|
||||||
call('{} start'.format(get_script('seafile.sh')))
|
call('{} start'.format(get_script('seafile.sh')))
|
||||||
|
|
||||||
print('seafile server is running now.')
|
print('seafile server is running now.')
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM alpine:3.13 AS get
|
FROM alpine:3.13 AS get
|
||||||
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.3
|
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.4
|
||||||
|
|
||||||
RUN apk add --no-cache wget
|
RUN apk add --no-cache wget
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM alpine:3.13 AS get
|
FROM alpine:3.13 AS get
|
||||||
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.3
|
ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=8.0.4
|
||||||
|
|
||||||
RUN apk add --no-cache wget
|
RUN apk add --no-cache wget
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue