forked from haiwen/seafile-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 6.2.5 and also publish the "latest" tag
- Loading branch information
Showing
6 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM seafileltd/seafile:6.2.3 | ||
FROM seafileltd/seafile:6.2.5 | ||
|
||
ENV SEAFILE_VERSION=6.1.0 | ||
|
||
RUN mv /opt/seafile/seafile-server-6.2.3 /opt/seafile/seafile-server-${SEAFILE_VERSION} | ||
RUN mv /opt/seafile/seafile-server-6.2.5 /opt/seafile/seafile-server-${SEAFILE_VERSION} | ||
|
||
ADD upgrade_6.0_6.1.sh /opt/seafile/seafile-server-${SEAFILE_VERSION}/upgrade/upgrade_6.0_6.1.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
Follow these steps: | ||
|
||
1. Stop the old container. | ||
2. Delete the old container. | ||
3. Delete the old images. | ||
4. Clone the latest docker project. | ||
5. Build the new images. | ||
1. Stop & Delete the old container. | ||
5. Pull the new images. | ||
6. Run the new container. | ||
|
||
e.g. | ||
|
||
Assume your old project path is /opt/seafile-docker, so your data path is /opt/seafile-docker/shared. | ||
|
||
docker stop seafile | ||
docker rm seafile | ||
docker rmi $(image id) | ||
git cloen https://github.com/haiwen/seafile-docker.git | ||
cd images && make base && make server | ||
docker run -it --name seafile -v /opt/seafile-docker/shared:/shared -p 80:80 -p 443:443 seafileltd/seafile:6.2.3 | ||
docker rm -f seafile | ||
docker pull seafileltd/seafile:latest | ||
docker run -it --name seafile -v /opt/seafile-docker/shared:/shared -p 80:80 -p 443:443 seafileltd/seafile:latest | ||
|
||
Congratulations, you've upgraded to a new version. |