Commit graph

510 commits

Author SHA1 Message Date
Shuai Lin 741bcee82f Added upgrading section in README. 2016-11-25 17:09:56 +08:00
Shuai Lin 86eeb5c2a9 Fixed typo. 2016-11-25 17:02:23 +08:00
Shuai Lin fae1b01dea Fixed typo. 2016-11-25 16:42:29 +08:00
Shuai Lin e551b10c5d Make nginx able to load avatars. 2016-11-25 16:38:54 +08:00
Shuai Lin e5865b7f3d Make avatars folder persistent. 2016-11-25 16:27:35 +08:00
Shuai Lin 569c24cea5 Update README. 2016-11-25 16:18:46 +08:00
Shuai Lin 10b045f50b Fixed travis ci. 2016-11-25 16:13:06 +08:00
Shuai Lin f826ea3d0f Set proper FILE_SERVER_ROOT in bootstrapping. 2016-11-25 16:10:29 +08:00
Shuai Lin e385675733 Improve sample confs. 2016-11-25 15:54:57 +08:00
Shuai Lin bcd5dfdab6 Fixed wording. 2016-11-25 15:50:34 +08:00
Shuai Lin 0cc4c8d2fa Fixed travis ci. 2016-11-25 15:48:46 +08:00
Shuai Lin 0d2ed6aa87 Only re-run letsencrypt verfication when necessary. 2016-11-25 15:45:47 +08:00
Shuai Lin ee152d0663 Add more tests in travis ci. 2016-11-25 15:29:18 +08:00
Shuai Lin b09cc739b3 Added "./launcher logs" command. 2016-11-25 15:28:20 +08:00
Shuai Lin 6e84e376a6 Updated shared/ and bootstrap/ folder permissions to 0700 2016-11-25 15:23:47 +08:00
Shuai Lin 80027819bd Add more image building steps in travis tests. 2016-11-25 15:12:22 +08:00
Shuai Lin ba91c7f1f7 Updated README. 2016-11-25 15:10:58 +08:00
Shuai Lin aa80598144 Improved base image. 2016-11-25 15:00:06 +08:00
Shuai Lin 49e15df129 Use docke-squash to make a smaller base image. 2016-11-25 14:56:30 +08:00
Shuai Lin acf1a5e77a Fixed typo. 2016-11-25 14:26:08 +08:00
Shuai Lin 71390ad11f Make sure nginx is ready when bootstrapping with letsencrypt. 2016-11-25 14:23:48 +08:00
Shuai Lin 5061545995 Pull base image at the beginning. 2016-11-25 14:18:43 +08:00
Shuai Lin b2e7e7f499 Fixed bootstrap for non-https case. 2016-11-25 14:14:30 +08:00
Shuai Lin 63dd4b5c19 Added launcher rebuild command. 2016-11-25 12:33:10 +08:00
Shuai Lin 7af42922d2 Updated README. 2016-11-25 12:04:37 +08:00
Shuai Lin 59e54fb931 Fixed travis ci. 2016-11-21 13:48:57 +08:00
Shuai Lin fde3d4c743 Updated Makefile. 2016-11-21 13:44:12 +08:00
Shuai Lin 8d1da195e7 Fixed README. 2016-11-21 13:37:36 +08:00
Shuai Lin c2d58f299b Set container hostname to "seafile". 2016-11-21 13:34:46 +08:00
Shuai Lin 53bc05d2ef Fixed travis build. 2016-11-21 13:26:41 +08:00
Shuai Lin 5b3bc6ca0c Updated README, added licence, and provide a vagrant file. 2016-11-21 13:22:07 +08:00
Shuai Lin 91b07750ee Added more steps in travis ci. 2016-11-21 13:09:25 +08:00
Shuai Lin e7871f5ede launcher: support serveral command line flags. 2016-11-21 13:07:09 +08:00
Shuai Lin 4a04b0cb5d Added stop/restart/enter commands. 2016-11-21 12:56:33 +08:00
Shuai Lin 3a61ff2eb4 Improve local Dockerfile. 2016-11-21 11:31:45 +08:00
Shuai Lin 500e8a9d15 Use server.letsencrypt instead of server.https 2016-11-21 11:25:56 +08:00
Shuai Lin ac72dbc171 Fixed scripts. 2016-11-21 10:50:30 +08:00
Shuai Lin 2c5adae1b7 Fixed travis ci. 2016-11-17 12:41:32 +08:00
Shuai Lin 542a57ced4 Fixed letsencrypt init. 2016-11-17 12:40:35 +08:00
Shuai Lin acad1bd947 Add cron for renewal of letsencrypt certs 2016-11-16 15:41:08 +08:00
Shuai Lin ec8d6e638d Handle docker ports mapping. 2016-11-16 09:46:08 +08:00
Shuai Lin 1832ad5acb Re-organize the build/start phases.
- ./launcher bootstrap => init seafile server data & letsencrypt, then
build a local image based on seafileorg/server:<version>
- ./launcher start => start a container using the local image
2016-11-15 16:59:02 +08:00
Shuai Lin 2c5dace56e Support https with letsencrypt.
TODO: add a cron job to renew the certs
2016-11-15 12:11:58 +08:00
Shuai Lin fece17830b Add comments for python pakcages installation. 2016-11-14 20:21:38 +08:00
Shuai Lin d8561eb442 Drop sqlite3 support.
Using mysql is much better in general. And now that we're using docker,
setting up with mysql is as easy as setting up with sqlite3.
2016-11-14 20:21:05 +08:00
Shuai Lin 99d2c8456b Support mysql.
At this moment, we only support running mysql server inside the
container. Support for running mysql(and memcached) in a separate
container would be added later.
2016-11-14 14:47:40 +08:00
Shuai Lin 2dc6f8d5bc Make the start.py script run forever in foreground. 2016-11-14 08:31:39 +08:00
Shuai Lin 29bfc5385e Install latest version of pypi. 2016-11-12 15:50:20 +08:00
Shuai Lin be3bb8d41e Added nginx for serving http. 2016-11-12 15:15:26 +08:00
Shuai Lin c64dbb972d Restructure "shared" folder.
shared/seafile => contains ccnet/seafile-data/conf etc.
shared/db      => contains mysql data
shared/ssl     => letsencrypt certs
shared/logs/seafile => ccnet/seafile/seahub logs
shared/logs/var-log => mounted as /var/log in the container
2016-11-12 14:03:52 +08:00