Commit graph

535 commits

Author SHA1 Message Date
Sven Höper 35cc2bc2ad
gc.sh: only stop Seafile when not using Seafile Pro
fixes #71
2018-06-21 11:02:14 +02:00
Daniel Pan 0cddd5cdca
Merge pull request #72 from yatesco/patch-1
Add notes about garbage collection
2018-06-21 17:00:21 +08:00
Colin Yates b916db66cd
Updated in response to feedback 2018-06-21 09:29:19 +01:00
Colin Yates 3d75c8550c
Add notes about garbage collection
Fixes #66
2018-06-20 16:27:17 +01:00
Hu 971fec216b install django-pylibmc 2018-06-19 00:16:54 -04:00
Hu 0e751248e9 sort upgrade-scritps 2018-06-05 10:54:47 +08:00
zMingGit 270b50c868
Merge pull request #60 from haiwen/master-oss2
add oss2
2018-05-25 17:40:28 +08:00
root 44b520baf4 add oss2 2018-05-25 17:38:41 +08:00
root 3c99dcfdec Unify the scripts for seafile and pro-seafile. 2018-05-12 03:36:33 +00:00
Daniel Pan 1e2ab49cc5
Merge pull request #58 from haiwen/update-image-name
pro-seafile -> seafile-pro
2018-05-10 11:53:18 +08:00
root f3ebdbcb7d pro-seafile -> seafile-pro 2018-05-10 02:45:44 +00:00
root e84a07d51a remove README.dev.md && remove useless struct 2018-05-09 05:28:10 +00:00
Daniel Pan 7bdb0e10a2
Merge pull request #56 from haiwen/seafile-pro
Seafile pro
2018-05-08 10:21:56 +08:00
root 57228ba03b pro 2018-05-07 16:45:10 +00:00
Daniel Pan 181dc06553
Merge pull request #54 from stevesbrain/launcher-patch
Update launcher
2018-05-04 10:54:10 +08:00
Steve Divskinsy 194e6b4922
Update launcher
Print working directory correctly (running ./launcher in /opt/dockerdata/seafile for example would spit out /opt/dockerdata/shared as the volume location). No such image seafileltd/server, so update to reflect seafileltd/seafile location.
2018-05-02 15:49:04 +09:30
Daniel Pan f10b51478c
Update README.md 2018-04-14 11:37:17 +08:00
root 9cfd4c2639 missing log 2018-04-13 02:57:53 +00:00
Shuai Lin eb65d9bfc1 Update the base image 2018-04-12 17:49:41 +08:00
Shuai Lin d1366fa43e Update to 6.2.5 and also publish the "latest" tag 2018-04-12 17:33:42 +08:00
Shuai Lin 0768ace783 Improved README.md [ci skip] 2018-04-12 17:27:36 +08:00
zMingGit 9c3fdcae32 Support native docker run instead of using the launcher script (#47)
* didn't use launcher

* travis

* link error & update readme

* del launcher.ps1, del bootstrap func under launcher file

* [readme] password/plan b, add a new admin

* review
2018-04-12 17:12:43 +08:00
Shuai Lin 22457f2327 Update docs 2018-03-20 11:48:02 +08:00
Shuai Lin 53940f640b update to 6.2.3 2018-01-13 21:33:46 +08:00
Shuai Lin db8844ef29 Update to 6.2.2 release 2017-11-07 10:29:48 +08:00
Shuai Lin 6333307479 docker image: move up infrequently-changed layers 2017-08-08 14:19:53 +08:00
Shuai Lin b161e46d44 Update seafile server download url 2017-08-08 14:12:39 +08:00
Shuai Lin d8a4fe7a25 Update to server 6.1.1 2017-08-08 14:10:11 +08:00
libeanim 702f5da610 Add garbage collector command to launcher (#20)
* Add garbage collector command to launcher

The seafile garbage collector can be started via the 'gc' command option of the launcher.
This will stop the seafile-server inside the container, then run the 'seaf-gc.sh' script and redirect its output to '/var/log/gc.log'.
Afterwards the whole container will be restarted.

* Move garbage collector execution logic to scripts/gc.sh

The file gc.sh stops the seafile server, starts the garbage collector and restarts the seafile server when the cleanup is finished.
The output of the 'seaf-gc.sh' script is piped to the file '/var/log/gc.log' in append mode.

* Add 'scripts/gc.sh' to watch_controller function in 'scripts/start.py'

The 'start.py' script monitors the seafile-server in a 'watch_controller' function and terminates the container when the server crashed.
However, during a garbage collector cleanup the server needs to be shut down and therefore it is necessary that the 'watch_controller' function only terminates the container if the server is offline and no cleanup is in progress.

* Add the gc command info to README

* Preseve the exit code of seaf-gc.sh

* Fix the perm of scripts/gc.sh
2017-06-06 05:23:12 -05:00
Shuai Lin 5f89412d04 Updated to seafile server 6.0.9 2017-05-13 13:38:16 +08:00
Shuai Lin f54fbbb2fa Added .snapshot to the dockerignore file.
Close #7
2017-01-25 22:00:11 +08:00
Shuai Lin bbbc803583 Fixed base image name. 2017-01-03 15:08:34 +08:00
Shuai Lin 73792319d1 Updated the docker hub repo name (seafileorg -> seafileltd). 2017-01-03 10:34:32 +08:00
Shuai Lin e0d4231838 Fixed encrypted docker creds. 2016-12-21 16:54:38 +08:00
Shuai Lin 129ff13955 Updated MAINT.md 2016-12-21 16:25:54 +08:00
Shuai Lin 04756d020f Fixed the name of the publish script. 2016-12-21 16:24:56 +08:00
Shuai Lin 448c30299f Skip building the base image to speed up travis ci. 2016-12-21 16:18:00 +08:00
Shuai Lin 61901a1257 Added a maintaince README. 2016-12-21 16:14:37 +08:00
Shuai Lin 34161680a8 Fixed travis ci yaml. 2016-12-21 16:02:49 +08:00
Shuai Lin b76657f807 Added creds. 2016-12-21 16:00:10 +08:00
Shuai Lin 02411d5f7b Update the version to 6.0.7 2016-12-21 15:53:07 +08:00
Shuai Lin 916076409d Fixed checking LASTEXITCODE. 2016-12-17 00:31:34 +08:00
Shuai Lin 6b5575bfe3 win: really fixed rebuild. 2016-12-15 17:08:03 +08:00
Shuai Lin b3e5b31053 Fixed windows getting started doc. 2016-12-15 16:48:02 +08:00
Shuai Lin 531d5e477a win: fixed rebuild. 2016-12-15 16:45:36 +08:00
Shuai Lin 94f91ccd4d win: fixed checking prerequsitives. 2016-12-15 15:18:20 +08:00
Shuai Lin f0e5708b1b windows: check the version match before starting container. 2016-12-14 15:56:26 +08:00
Shuai Lin e48a8bf3cb Fixed typo again. 2016-12-14 12:33:34 +08:00
Shuai Lin 56ca002a47 Fixed a typo. 2016-12-14 12:13:03 +08:00
Shuai Lin 6a748a936f win: added stop/restart/destroy/logs/enter commands. 2016-12-08 17:47:57 +08:00