Commit graph

728 commits

Author SHA1 Message Date
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
Shuai Lin ad97dd85c1 Mount shared/logs/var-log to /var/log 2016-11-12 13:27:24 +08:00
Shuai Lin 10eb0b82dc Fixed "launcher start". 2016-11-12 11:34:03 +08:00
Shuai Lin c0cf376ba3 Create admin user without user interaction. 2016-11-12 11:28:49 +08:00
Shuai Lin ede2fcdd58 Rename containers/ to bootstrap/.
And run ./launcher bootstrap in travis ci
2016-11-12 10:53:04 +08:00
Shuai Lin 2ce0c35c1e Do not create symlinks when bootstraping. 2016-11-11 12:56:47 +08:00
Shuai Lin 7814d43b12 Initial work on running seafile with docker. 2016-11-11 12:54:53 +08:00
Shuai Lin f1fd42ef07 Removed old travis config. 2016-11-11 09:22:25 +08:00
Shuai Lin eafcbfc92c added travis badge 2015-03-21 10:05:57 +08:00
Shuai Lin 6d7d0d1858 added travis.yml: play tricks to run docker on travis
56cb59cc26/.travis.yml
2015-03-21 09:59:30 +08:00
Shuai Lin 3cfa2b849d initial commit 2015-03-21 00:10:19 +08:00