infrastructure/docker/seafile/README.md

26 lines
566 B
Markdown
Raw Normal View History

2019-06-01 14:02:49 +00:00
2019-10-23 09:54:09 +00:00
```bash
sudo docker build -t superboum/amd64_seafile:v5 .
2019-12-04 15:50:03 +00:00
```
When upgrading, connect on a production server and run:
```bash
nomad stop seafile
2019-06-01 14:02:49 +00:00
sudo docker run -t -i \
-v /mnt/glusterfs/seafile:/mnt/seafile-data \
-v /mnt/glusterfs/seaconf/conf:/srv/webstore/conf \
-v /mnt/glusterfs/seaconf/ccnet:/srv/webstore/ccnet \
2019-10-23 09:54:09 +00:00
superboum/amd64_seafile:v5
2019-12-04 15:50:03 +00:00
# See:
# * https://download.seafile.com/published/seafile-manual/deploy/upgrade.md
# * https://download.seafile.com/published/seafile-manual/changelog/server-changelog.md
nomad start seafile.hcl
2019-06-01 14:02:49 +00:00
```