Johannes Zellner
82e8c8cef2
Only adjust swapiness for ec2
...
On DO the disk I/O seems to be much better so this is not required
2016-07-17 18:54:27 +02:00
Johannes Zellner
3300c6b47a
Make the system use swap only when needed
...
The default swappiness is 60 on ubuntu. This sets the tendency
to swap out memory pages to be more frequent, which in our case
means swapping out to networked disks and increase the cpu load
a lot, which is especially bad on EC2
2016-07-15 14:07:02 +02:00
Johannes Zellner
66049a9e2d
Support x-frame-options in appconfig.ejs template
2016-07-14 16:28:59 +02:00
Johannes Zellner
e422357670
Set the correct hostname in start.sh
2016-07-04 10:41:54 +02:00
Johannes Zellner
0160c12965
Allow to distinguish between built-in auth clients and external ones
2016-06-09 15:35:00 +02:00
Johannes Zellner
4776a005a5
Remove redundant client TYPE_*s
2016-06-08 14:09:06 +02:00
Johannes Zellner
a69cd204d6
Handle sdk and cli clients just like the webadmin
2016-06-08 11:33:08 +02:00
Johannes Zellner
2676658b5d
Add auth client cid-sdk and cid-cli
2016-06-08 11:20:06 +02:00
Johannes Zellner
a0227b6043
Remove now unused localhost test client
...
We can now simply use the regular APIs to do local development against a Cloudron
2016-06-07 16:03:50 +02:00
Girish Ramakrishnan
b077223e58
fix scope name
2016-06-02 17:49:54 -07:00
Girish Ramakrishnan
119e095710
actually change ownership
2016-05-30 15:51:52 -07:00
Girish Ramakrishnan
5df3a41988
INFRA_VERSION may not exist
2016-05-30 14:48:41 -07:00
Girish Ramakrishnan
a34b611e20
make INFRA_VERSION writable by yellowtent user
2016-05-30 12:52:39 -07:00
Girish Ramakrishnan
2347a7ced2
admin email is a platform property
2016-05-24 16:36:56 -07:00
Girish Ramakrishnan
0e655cadb0
generate dkim keys before dns setup
...
Two things require DKIM keys
1. the mail addon
2. the DNS TXT record
2016-05-05 21:15:10 -07:00
Girish Ramakrishnan
b4c15b1719
Let the box code initialize the infrastructure
...
This is done because:
1. The box code can install certs for addons (like mail addon) when
required.
2. The box code initialize/teardown addons on demand. This is not planned
currently.
2016-05-04 15:54:21 -07:00
Girish Ramakrishnan
91a016ee91
Change the admin email to no-reply
2016-04-14 19:56:54 -07:00
Girish Ramakrishnan
553509c462
implement installation of app bundle
2016-04-04 23:03:13 -07:00
Girish Ramakrishnan
8ad190fa83
make updateConfig a provision argument
2016-01-23 10:15:09 -08:00
girish@cloudron.io
4aead483de
This hack is not needed in 15.10 anymore
...
collectd is still same version in 15.10 but it collects info correctly
as df-vda1 now.
2016-01-22 14:00:40 -08:00
Johannes Zellner
d7ddc56ab3
Not applicable for ubuntu 15.10
2016-01-11 11:15:04 +01:00
Johannes Zellner
9483c3afbc
Also support /dev/xvda1 with collectd, needed for ec2
2016-01-04 17:26:02 +01:00
Johannes Zellner
3a4ec5c86a
The var is named
2015-12-29 12:25:22 +01:00
Johannes Zellner
ebf1cfc113
Read provider field from cloudron.conf
2015-12-29 11:29:08 +01:00
Girish Ramakrishnan
4bd88e1220
create acme data dir
2015-12-15 00:21:29 -08:00
Girish Ramakrishnan
abc4975b3d
add tls configuration to database
2015-12-12 15:40:33 -08:00
Girish Ramakrishnan
36d81ff8d1
do not write tls config in this version
2015-12-12 14:21:50 -08:00
Girish Ramakrishnan
35a2da744c
fix typo
2015-12-11 23:29:07 -08:00
Girish Ramakrishnan
3fbcbf0e5d
store tls config in database
2015-12-11 22:14:56 -08:00
Girish Ramakrishnan
875ec1028d
remove backward compat code now that we have migrated
2015-12-10 16:31:22 -08:00
Girish Ramakrishnan
853db53f82
rename admin.cert/.key to {admin_fqdn}.cert/.key
2015-12-10 14:05:44 -08:00
Girish Ramakrishnan
5992c0534a
remove dead comment
2015-12-10 13:56:00 -08:00
Girish Ramakrishnan
1874c93c5c
no need to template main nginx config
2015-12-10 13:54:53 -08:00
Girish Ramakrishnan
88f0240757
serve acme directory from nginx
2015-12-08 19:04:48 -08:00
Girish Ramakrishnan
2bb657a733
rename variable for clarity
2015-11-12 12:40:41 -08:00
Girish Ramakrishnan
bc48171626
use fallback cert from backup if it exists
2015-11-12 12:37:43 -08:00
Girish Ramakrishnan
50924b0cd3
use admin.cert and admin.key if present in backup dir
2015-11-12 12:33:52 -08:00
Girish Ramakrishnan
eaf9febdfd
do not save aws and backupKey
...
it is now part of backupConfig
2015-11-09 08:39:01 -08:00
Girish Ramakrishnan
adc395f888
save backupConfig in db
2015-11-07 21:45:38 -08:00
Girish Ramakrishnan
bd5b15e279
insert any dns config into settings
2015-11-04 08:45:12 -08:00
Johannes Zellner
e81db9728a
Set the cert and key dynamically when rendering nginx appconfig
2015-10-28 12:42:04 +01:00
Johannes Zellner
8f670eb755
Add per app cert dir
2015-10-28 12:23:16 +01:00
Johannes Zellner
18a464b1d2
Make data/ directory writeable by yellowtent user
2015-10-21 17:18:45 +02:00
Girish Ramakrishnan
9c157246b7
add type field to clients table
2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
8afe537497
fix typo
2015-10-15 15:32:14 -07:00
Johannes Zellner
ae1bfaf0c8
roleUser is gone as well
2015-10-15 12:50:48 +02:00
Girish Ramakrishnan
23a5a1f79f
timezone is already determined automatically using activation
2015-09-18 12:02:36 -07:00
Girish Ramakrishnan
8598fb444b
store timezone in config.js (part of provision data)
2015-09-16 15:54:56 -07:00
Girish Ramakrishnan
e76584b0da
Move from supervisor to systemd
...
This removes logrotate as well since we use systemd logging
2015-09-07 14:31:25 -07:00
Johannes Zellner
212d0bd55a
Revert "Add hack for broken app backup tarballs"
...
This reverts commit 9723951bfc .
2015-08-31 21:44:24 -07:00