Johannes
dd9c594387
Install cloudron-version tool
2016-10-25 11:27:04 +02:00
Girish Ramakrishnan
15cfbe3f99
Initial version of configure style cloudron-setup script
2016-10-25 00:07:46 -07:00
Girish Ramakrishnan
c8a04f8707
remove code that stops nginx
2016-10-24 14:41:26 -07:00
Johannes
8efa75e5d6
Only use ssh port 202 with caas
2016-10-24 15:56:24 +02:00
Girish Ramakrishnan
b9ff8a2cef
start the installer
2016-10-21 16:22:25 -07:00
Girish Ramakrishnan
e63ef4c991
Extract properly
2016-10-21 16:21:09 -07:00
Girish Ramakrishnan
1244a73a19
run the install web ui on port 80
2016-10-21 16:04:08 -07:00
Girish Ramakrishnan
64f3b45eef
download installer in base image script
2016-10-21 15:52:40 -07:00
Girish Ramakrishnan
d494129353
default provider to generic
2016-10-21 12:58:01 -07:00
Girish Ramakrishnan
ef27a17cae
Only update grub if we modified grub
2016-10-11 18:22:27 -07:00
Girish Ramakrishnan
74ffd5c2d3
Fix bash syntax
2016-10-11 16:24:47 -07:00
Girish Ramakrishnan
3a259e9ce0
add some hacks for scaleway
...
* load loop module if not autoloaded
* allow NBD ports (https://community.online.net/t/how-to-configures-iptables-with-input-rules-with-dynamic-nbd/303/31 )
2016-10-11 15:21:10 -07:00
Girish Ramakrishnan
63a0c69e76
modify grub only for ec2
2016-10-08 13:23:45 -07:00
Johannes Zellner
9d98f9fcf5
Retry npm install in base image script
2016-09-07 14:19:29 +02:00
Johannes Zellner
2ce6791771
Make cloudron-installer depend on box-setup service
...
Part of #37
2016-09-07 12:10:03 +02:00
Girish Ramakrishnan
5b53280cd4
make baseImage an array
2016-08-20 10:24:29 -07:00
Girish Ramakrishnan
ba4bb1fd90
box-setup must be run before nginx
...
nginx configs are in the data volume which get mounted only after
box-setup script.
part of #8
2016-08-19 19:37:44 -07:00
Girish Ramakrishnan
bbbc3837b0
box-setup: run before sshd since we modify ssh config files
2016-08-19 19:34:58 -07:00
Girish Ramakrishnan
311e997619
DO: do-resize service has folded into cloud-init
2016-08-19 19:34:12 -07:00
Girish Ramakrishnan
6cfb8226a9
we are tied to docker 1.10 for now
2016-08-11 16:29:03 -07:00
Girish Ramakrishnan
19fad669f1
Use the unbound dns server
...
docker filters out the localhost in /etc/resolv.conf by design
and will use the Google DNS nameservers as fallback.
https://docs.docker.com/engine/userguide/networking/configure-dns/
2016-08-11 14:52:34 -07:00
Girish Ramakrishnan
7bc5ae17cc
Use unbound as nameserver
...
DO uses Google nameservers by default. This causes RBL queries to fail.
Can be tested with the following command:
$ host 2.0.0.127.zen.spamhaus.org
Host 2.0.0.127.zen.spamhaus.org not found: 3(NXDOMAIN)
With unbound we get:
$ host 2.0.0.127.zen.spamhaus.org
2.0.0.127.zen.spamhaus.org has address 127.0.0.2
2.0.0.127.zen.spamhaus.org has address 127.0.0.10
2.0.0.127.zen.spamhaus.org has address 127.0.0.4
Also, we do not use dnsmasq because it is not a recursive resolver. It will
always forward and this defaults to the value in /etc/network/interfaces
(which is Google DNS on DO!).
2016-08-11 10:32:54 -07:00
Johannes Zellner
65994f307f
Make infra_version.js option and fix base image on DO
2016-08-10 12:45:23 +02:00
Johannes Zellner
c6c36a4f3c
Also make box-setup.service depend on cloud-init for ec2
2016-06-22 10:21:56 +02:00
Johannes Zellner
2a3640032f
Remove obsolete SELFHOSTED env
2016-06-22 10:21:56 +02:00
Girish Ramakrishnan
d51d2e5131
start addons and apps in the cloudron network
...
also remove getLinkSync, since we don't use linking anymore
2016-06-17 09:18:10 -05:00
Johannes Zellner
984a191e4c
Use the variable correctly
2016-06-09 14:24:53 +02:00
Girish Ramakrishnan
aff9ff47bc
use infra_version.js in baseimage script
2016-05-24 13:23:38 -07:00
Girish Ramakrishnan
83a252bd20
there is only mail container now
2016-05-15 21:15:53 -07:00
Girish Ramakrishnan
560f460a32
rename to sendmail
2016-05-13 20:48:31 -07:00
Girish Ramakrishnan
5322ed054d
reserve 4190 for sieve
2016-05-13 18:48:05 -07:00
Girish Ramakrishnan
646ba096c3
start recvmail addon in setup_infra
2016-05-11 08:55:51 -07:00
Girish Ramakrishnan
5afff5eecc
open 25 (inbound smtp) and 587 (inbound submission)
2016-05-11 08:48:50 -07:00
Girish Ramakrishnan
84206738e1
open port 993 (imap)
2016-05-11 08:47:59 -07:00
Girish Ramakrishnan
8837cc5a3c
update nginx version
2016-04-29 19:38:06 -07:00
Girish Ramakrishnan
f2545e3def
bump systemd to 229
2016-04-29 19:18:31 -07:00
Girish Ramakrishnan
7a72bf3f78
select mysql 5.7
2016-04-29 19:12:20 -07:00
Girish Ramakrishnan
cfb56d7eee
install aws-cli tool (for backups)
2016-04-08 23:58:07 -07:00
Girish Ramakrishnan
f44c2707f0
install swaks in base image
2016-04-04 09:50:19 -07:00
girish@cloudron.io
61a52d8888
dist-upgrade to update more aggressively
2016-03-09 09:29:07 -08:00
Girish Ramakrishnan
83d05c99d3
mount manually instead of fstab because of race
...
I cannot figure how to make the box-setup.service run before the mounting
of a specific mount point. adding a dep on mount.target locks up the system.
2016-03-07 10:48:09 -08:00
Girish Ramakrishnan
b0acdfb908
use truncate instead of fallocate
2016-03-07 10:44:35 -08:00
Girish Ramakrishnan
b062dab65c
mysql also uses the data partition
2016-03-07 10:38:59 -08:00
girish@cloudron.io
744c721000
use docker 1.10.2 (untested)
2016-03-01 10:13:44 -08:00
girish@cloudron.io
0500bae221
install aufs tools
...
https://github.com/docker/docker/issues/915
2016-03-01 10:13:04 -08:00
girish@cloudron.io
1419108a86
umount is for unmounting
2016-02-25 20:13:16 -08:00
girish@cloudron.io
ee9c8ba4eb
fix dead comment
2016-01-25 20:15:54 -08:00
girish@cloudron.io
d56abd94a9
collectd uses the data lo partition that is resized by box-setup.sh
2016-01-22 15:06:43 -08:00
girish@cloudron.io
a246b3e90c
box-setup needs to run after mounting to prevent race in script
2016-01-22 14:21:36 -08:00
girish@cloudron.io
e28e1b239f
fix comment
2016-01-22 14:21:20 -08:00