Shuai Lin
51239b078c
Fixed a typo.
2016-12-08 00:04:23 +08:00
Shuai Lin
fb1ce0a6a8
Fixed the ccnet socket problem on windows.
2016-12-07 15:39:52 +08:00
Shuai Lin
ec673e1df0
Fixed bootstrap script.
2016-11-30 15:22:56 +08:00
Shuai Lin
01d1035433
Improve python scripts docstring.
2016-11-29 17:13:06 +08:00
Shuai Lin
cc77e95d9f
Make debug logs and info logs more clear.
2016-11-29 15:26:33 +08:00
Shuai Lin
12412e733d
Suppport verbose mode: "./launcher -v <cmd>"
2016-11-29 15:09:16 +08:00
Shuai Lin
a64c9b83e4
Add a version stamp file seafile-data/current_version.
2016-11-28 17:06:28 +08:00
Shuai Lin
f826ea3d0f
Set proper FILE_SERVER_ROOT in bootstrapping.
2016-11-25 16:10:29 +08:00
Shuai Lin
bcd5dfdab6
Fixed wording.
2016-11-25 15:50:34 +08:00
Shuai Lin
0d2ed6aa87
Only re-run letsencrypt verfication when necessary.
2016-11-25 15:45:47 +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
b2e7e7f499
Fixed bootstrap for non-https case.
2016-11-25 14:14:30 +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
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
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
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
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
7814d43b12
Initial work on running seafile with docker.
2016-11-11 12:54:53 +08:00