mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Merge branch 'seahub-conf'
This commit is contained in:
commit
0b946201cf
|
@ -68,6 +68,7 @@ mariadb-dev \
|
|||
libmemcached
|
||||
|
||||
COPY --from=get /tmp/seafile-server*/seahub /opt/seafile/seafile-server-latest/seahub
|
||||
COPY --from=get /tmp/seafile-server*/runtime /opt/seafile/seafile-server-latest/runtime
|
||||
COPY --from=get /tmp/seafile-server*/seafile/lib64/python3.6/site-packages /opt/seafile/seafile-server-latest/seafile/lib64/python3.6/site-packages
|
||||
COPY --from=pip /usr/lib/python3.6/site-packages /usr/lib/python3.6/site-packages
|
||||
COPY scripts /scripts
|
||||
|
|
|
@ -33,3 +33,10 @@ for d in ${dirs[*]}; do
|
|||
rm -rf /opt/seafile/$d && ln -sf $src /opt/seafile
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! -e /shared/seafile/conf/seahub.conf ]]; then
|
||||
mv /opt/seafile/seafile-server-latest/runtime/seahub.conf /shared/seafile/conf/seahub.conf
|
||||
fi
|
||||
|
||||
rm -f /opt/seafile/seafile-server-latest/runtime/seahub.conf
|
||||
ln -sf /shared/seafile/conf/seahub.conf /opt/seafile/seafile-server-latest/runtime/seahub.conf
|
Loading…
Reference in a new issue