Commit Graph

159 Commits

Author SHA1 Message Date
Johannes Zellner cf05cd4c19 Create images only with 512mb droplets 2014-10-09 10:35:12 -07:00
Girish Ramakrishnan 76b3a7f3df Use . as progress indicator 2014-10-08 22:48:55 -07:00
Girish Ramakrishnan 11997a4adc Logging rules must be at the very end 2014-10-08 22:03:20 -07:00
Girish Ramakrishnan 112e77dc20 Log dropped incoming packages 2014-10-08 19:35:35 -07:00
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 324011d04f Remove debugging code
Not sure how this got committed
2014-10-06 11:02:36 -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 480d7b9bfd Set loglevel to verbose 2014-09-29 17:21:20 -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 6b3cddc0d4 Add checkInstall.sh to npm test 2014-09-26 12:09:41 -07:00
Girish Ramakrishnan 52e7ec9d65 Add checkInstall.sh script to check sudo setup
Checks if all sudo scripts return OK with --check argument
2014-09-26 12:05:46 -07:00
Girish Ramakrishnan c531825eb8 Change ownership of collectd dir 2014-09-23 23:18:44 -07:00
Girish Ramakrishnan 1233ebc1e4 Implement collection of app memory/cpu statistics
per-app collectd configuration is dynamically added/removed.
2014-09-23 22:31:19 -07:00
Girish Ramakrishnan 36213bc477 Move collectd configs inside backup dir 2014-09-23 21:51:04 -07:00
Girish Ramakrishnan 04ef971b83 Add girish/base:0.7
Fixes #87
2014-09-23 17:12:38 -07:00
Girish Ramakrishnan 265ecbeffc call transformNull on all metrics 2014-09-22 14:07:22 -07:00
Johannes Zellner b1f8e581bf Make bootstrap script an init script 2014-09-18 12:49:14 -07:00
Girish Ramakrishnan 7b4bca5d90 Append does not seem to work 2014-09-17 16:14:40 -07:00
Girish Ramakrishnan ffa5fa335d Add more debugs for testing 2014-09-17 16:12:29 -07:00
Girish Ramakrishnan 926dd8ae35 Escape $ since they are expanded in heredoc 2014-09-17 16:12:25 -07:00
Girish Ramakrishnan bd74a364ce Write logfiles with pid and also append
This will help confirm if the scripts are running twice for some
reason.
2014-09-17 15:05:46 -07:00
Girish Ramakrishnan 8b3ee3e0df Make bootstrap run at the very end 2014-09-17 15:02:37 -07:00
Girish Ramakrishnan 89ccfe3895 move sync into initialization script 2014-09-17 15:01:59 -07:00
Girish Ramakrishnan bd4c10f6d3 supervisor and nginx should never be running 2014-09-17 15:01:31 -07:00
Girish Ramakrishnan 37a8984d29 /var/log/cloudron should already exist at this point 2014-09-17 15:00:03 -07:00
Girish Ramakrishnan 10a7b6685d Revert "Remove redirection, already redirected in bootstrap init.d script"
This reverts commit 45c771d6f8.
2014-09-17 11:50:24 -07:00
Girish Ramakrishnan db48b7ac0b Looks like service makes the script terminate 2014-09-17 11:25:30 -07:00
Girish Ramakrishnan 45c771d6f8 Remove redirection, already redirected in bootstrap init.d script
(checking if this is the root cause of bootstrap.sh running twice)
2014-09-17 10:51:36 -07:00
Johannes Zellner 403c94e8df Only unmount aufs filesystems if there are some 2014-09-17 10:21:05 -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 bbfe07ab91 Setup -> Install 2014-09-17 09:37:43 -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