Fix the /volume path used for the seafile data
This commit is contained in:
@@ -38,9 +38,11 @@ RUN groupadd -g $GID -o $UNAME ;\
|
||||
|
||||
# Copy over the Docker entrypoint.
|
||||
COPY assets/docker-entrypoint.sh /entrypoint.sh
|
||||
|
||||
# Copy over the required files for Seafile/SupervisorD.
|
||||
COPY assets/supervisord.conf /home/seafuser/
|
||||
COPY assets/infinite-seaf-cli-start.sh /home/seafuser/
|
||||
COPY assets/seafile-entrypoint.sh /home/seafuser/entrypoint.sh
|
||||
RUN mkdir /volume
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
||||
|
||||
@@ -42,6 +42,7 @@ fi
|
||||
chown $UID.$GID -R /home/seafuser/supervisord.conf
|
||||
chown $UID.$GID -R /home/seafuser/infinite-seaf-cli-start.sh
|
||||
chown $UID.$GID -R /home/seafuser/entrypoint.sh
|
||||
chown $UID.$GID -R /volume
|
||||
|
||||
# Run the Seafile client as the container user.
|
||||
su - $UNAME << EO
|
||||
|
||||
@@ -26,7 +26,6 @@ supervisord_log=~/.supervisord/supervisord.log
|
||||
# Prepare the directories.
|
||||
mkdir ~/.seafile
|
||||
mkdir ~/.supervisord
|
||||
mkdir ~/share
|
||||
|
||||
# Safely initialise the Seafile client.
|
||||
/usr/bin/seaf-cli init -d ~/.seafile
|
||||
|
||||
Reference in New Issue
Block a user