Girish Ramakrishnan
99952e5bab
Firewall the box
...
This change firewalls everything except the internal bridge. An upcoming
change should disable icc as well but that requires us to link all the
apps with the mail container.
Part of #59
2014-10-08 19:23:15 -07:00
Girish Ramakrishnan
a2baf856ae
Add NET_ADMIN caps so that haraka can configure interface
2014-10-03 17:13:48 -07:00
Girish Ramakrishnan
1e02b9e8f4
Set the mail server static IP in haraka container instead
...
This makes it work across starts (like after a backup)
2014-10-03 16:05:18 -07:00
Girish Ramakrishnan
f6697d4e4c
Fix typo
2014-10-03 10:45:35 -07:00
Girish Ramakrishnan
4f615a1249
Give mail server a static IP
...
Docker containers get a new IP on every restart. This causes a problem
since we export the MAIL_SERVER as an env variable in apps.
2014-10-03 09:53:02 -07:00
Girish Ramakrishnan
84c917e438
Fix typo
2014-10-03 02:54:52 -07:00
Girish Ramakrishnan
d30f4c44c2
Better email notifications
2014-10-03 02:32:01 -07:00
Girish Ramakrishnan
e2342fc653
Send welcome email
2014-10-01 06:05:17 -07:00
Girish Ramakrishnan
dbbc6d1881
run node script as yellowtent user
2014-09-28 14:47:35 -07:00
Girish Ramakrishnan
e15d516374
Save mailServer IP in cloudron config
2014-09-28 13:16:23 -07:00
Girish Ramakrishnan
8590bc7054
Generate the dkim keys in haraka container
...
If the appdata dir of haraka is prepopulated, then the setup
script is skipped.
2014-09-28 08:40:35 -07:00
Girish Ramakrishnan
08456655de
Fix typo
2014-09-28 00:15:23 -07:00
Girish Ramakrishnan
144fde9e43
Set DOMAIN_NAME env variable in the haraka container
2014-09-27 23:51:37 -07:00
Girish Ramakrishnan
920fe2df6f
Fix haraka setup script
2014-09-27 23:13:13 -07:00
Girish Ramakrishnan
03289fb55f
Add haraka mail relay server as part of base image
...
Part of #46
2014-09-27 13:09:01 -07:00
Girish Ramakrishnan
c531825eb8
Change ownership of collectd dir
2014-09-23 23:18:44 -07:00
Girish Ramakrishnan
36213bc477
Move collectd configs inside backup dir
2014-09-23 21:51:04 -07:00
Girish Ramakrishnan
265ecbeffc
call transformNull on all metrics
2014-09-22 14:07:22 -07:00
Girish Ramakrishnan
db48b7ac0b
Looks like service makes the script terminate
2014-09-17 11:25:30 -07:00
Girish Ramakrishnan
31cf9909d7
Enable and disable collectd appropriately
2014-09-17 10:05:13 -07:00
Girish Ramakrishnan
55ce1046df
Make script barf one error
2014-09-17 10:03:01 -07:00
Girish Ramakrishnan
8f7c4fa534
Attempt disk usage images
2014-09-17 00:16:54 -07:00
Girish Ramakrishnan
50668fd9c5
disable disk plugin which is measuring iops
2014-09-16 23:44:12 -07:00
Girish Ramakrishnan
567306f3b4
hardcode Hostname for predictable graphite targets
2014-09-16 23:21:51 -07:00
Girish Ramakrishnan
d5ac037ffc
bump the graphite docker version
2014-09-16 19:06:43 -07:00
Girish Ramakrishnan
92cf82af15
Monitor nginx logs using the tail plugin
...
I guess real analysis must be done using elasticsearch
2014-09-16 17:18:52 -07:00
Girish Ramakrishnan
85df77409b
Cleanup collectd.conf
2014-09-16 16:25:55 -07:00
Girish Ramakrishnan
77daac69c3
Update to latest graphite image
2014-09-16 16:23:38 -07:00
Girish Ramakrishnan
770acdf395
Make graphite data part of backup
2014-09-16 16:09:21 -07:00
Girish Ramakrishnan
86e7061819
collectd: configure df and disk
2014-09-16 12:04:44 -07:00
Girish Ramakrishnan
9bf5b1104e
collectd: Enable vmem plugin
2014-09-16 11:54:12 -07:00
Girish Ramakrishnan
20add2bee4
collectd: disable rrdtool
...
afaict, we don't need it since we use graphite as backend
2014-09-16 11:49:17 -07:00
Girish Ramakrishnan
e1ded03f1f
collectd: Enable collection of box process stats
2014-09-16 11:40:41 -07:00
Girish Ramakrishnan
f4c9c42859
collectd: enable swap space monitoring
2014-09-16 11:33:37 -07:00
Girish Ramakrishnan
52ff80f9bc
Enable collectd ping plugin
2014-09-16 11:29:05 -07:00
Girish Ramakrishnan
e4c891fff8
Enable nginx status in collectd
2014-09-16 11:25:52 -07:00
Girish Ramakrishnan
62cb58b5b1
Run docker in background
2014-09-16 08:05:25 -07:00
Girish Ramakrishnan
4e1ae532de
Move graphite to separate container
...
Only collectd needs to run in the host
2014-09-15 20:14:57 -07:00
Girish Ramakrishnan
7bb96f3523
Add collectd and graphite support to base image
2014-09-15 02:04:23 -07:00