Girish Ramakrishnan
772cefbfc6
Quote values in supervisor configs
2014-10-20 18:20:46 -07:00
Girish Ramakrishnan
9da9312086
Cleanup scripts
2014-10-20 16:52:33 -07:00
Girish Ramakrishnan
9f34ecdfa0
Store all data in data/ instead of .yellowtent/ in cloudrons
...
When run locally, it's still .yellowtent/
2014-10-20 16:44:14 -07:00
Girish Ramakrishnan
439107e6cb
Remove unused script
2014-10-20 16:32:22 -07:00
Girish Ramakrishnan
665b9c6e06
Do not backup the certs
...
These are our certs!
2014-10-16 14:08:03 -07:00
Girish Ramakrishnan
0de57a01ab
Just use docker exec instead of nsenter
...
New in docker 1.3
Fixes #109
2014-10-16 13:52:49 -07:00
Girish Ramakrishnan
a8e86bbf90
Fix indentation of heredoc
2014-10-16 13:06:45 -07:00
Girish Ramakrishnan
8155a7d0b2
Retry git and npm command till it succeeds
...
It's fine to run them forever since after 30m the appstore
will recreate it anyway
2014-10-16 12:40:40 -07:00
Girish Ramakrishnan
e8a123b439
Improve log messages in initialization script
2014-10-16 12:26:01 -07:00
Girish Ramakrishnan
4c8fa56175
Just use heroku for the moment since heroku keeps dying on me
...
Heroku has to be the most unstable service ever
2014-10-15 23:56:17 -07:00
Girish Ramakrishnan
e72d2e1e4f
Move to cloudron.io domain
2014-10-15 19:27:04 -07:00
Girish Ramakrishnan
4ea1bc65c9
Fix appstore url
2014-10-14 13:28:09 -07:00
Girish Ramakrishnan
b8b72ffea4
I like dots
2014-10-10 13:16:19 -07:00
Johannes Zellner
bf570f6f23
Add 2gb swapfile to the base image
2014-10-09 10:59:10 -07:00
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