infrastructure/app_build/seafile/README.md

28 lines
660 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
sudo docker build -t superboum/amd64_seafile:v6 .
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
```
when upgrading, change the command on start