Johannes Zellner
d72b1d8bd5
Show required memory in app install dialog
...
Fixes #150
2016-12-30 12:51:44 +01:00
Johannes Zellner
0f1a4422f5
Add prettyMemory angular filter
2016-12-30 12:51:30 +01:00
Johannes Zellner
7d06f9e1e3
Add comment why the script might fail on unsupported small disks
2016-12-30 11:53:35 +01:00
Johannes Zellner
1e4e76b0dd
give disk size a unit in cloudron-system-setup.sh
2016-12-30 11:49:57 +01:00
Johannes Zellner
49d70f487e
show dots at the end in cloudron-setup log lines
2016-12-30 11:35:03 +01:00
Johannes Zellner
456cb22ac0
this and that typo
2016-12-30 11:32:56 +01:00
Girish Ramakrishnan
ba1dfee5ca
Actually remove dev deps (npm is a mystery)
2016-12-30 01:04:43 -08:00
Girish Ramakrishnan
143a600a5c
remove ununsed dev deps
2016-12-30 01:02:19 -08:00
Girish Ramakrishnan
68b4bf0a7f
Remove ini and tail-stream unused modules
2016-12-30 01:00:23 -08:00
Girish Ramakrishnan
bc75d07391
Remove ursa dependancy
...
ursa uses native code and doing a npm rebuild often runs out of
memory in low memory cloudrons
2016-12-30 00:13:35 -08:00
Girish Ramakrishnan
7eaa3ef52e
Use the ejs-cli of the new box code
2016-12-29 19:17:31 -08:00
Girish Ramakrishnan
af69ddc220
Email needs atleast 256m even on 1gb droplet
2016-12-29 18:33:59 -08:00
Girish Ramakrishnan
b25d61fbb5
installer.sh is unused in base image
2016-12-29 15:56:14 -08:00
Girish Ramakrishnan
81a60b029d
bash is dangerous (script_dir was marked readonly in parent script!)
2016-12-29 15:34:30 -08:00
Girish Ramakrishnan
751fd8cc4b
update gulp-sass
2016-12-29 15:03:17 -08:00
Girish Ramakrishnan
503e3d6ff2
Add trailing slash
2016-12-29 14:36:19 -08:00
Girish Ramakrishnan
decbfe0505
More start.sh cleanup
2016-12-29 14:35:48 -08:00
Girish Ramakrishnan
379042616f
Ensure box.service starts after mysql.service
2016-12-29 14:24:29 -08:00
Girish Ramakrishnan
df2878bc2e
Prettify start.sh
2016-12-29 14:22:42 -08:00
Girish Ramakrishnan
1ff35461a2
Remove obsolete design doc
2016-12-29 13:21:09 -08:00
Girish Ramakrishnan
7de94fff1b
Merge container logic into start.sh
...
This whole container thinking is over-engineered and we will get to
it if and when we need to.
2016-12-29 12:01:59 -08:00
Girish Ramakrishnan
3236f70d8b
Show email records for manual dns
...
Fixes #151
2016-12-29 11:32:42 -08:00
Girish Ramakrishnan
cf7cef19f9
Fix wording
2016-12-29 11:32:06 -08:00
Girish Ramakrishnan
e159cdad5b
Remove activated event
...
Simply go ahead and create cron jobs
2016-12-28 14:21:58 -08:00
Girish Ramakrishnan
2ddb533ef2
remove redundant permission change
2016-12-28 09:54:30 -08:00
Girish Ramakrishnan
36a6e02269
remove unused variable
2016-12-28 09:49:18 -08:00
Girish Ramakrishnan
6fbbf0ad61
Use curl with options
2016-12-28 09:49:04 -08:00
Girish Ramakrishnan
1040fbddc6
Improve data-file handling
2016-12-28 09:46:04 -08:00
Girish Ramakrishnan
bbd63b2c57
Prettify container.sh
2016-12-28 08:59:26 -08:00
Girish Ramakrishnan
905bdb1d27
only reboot if base image script was called
2016-12-28 08:59:25 -08:00
Girish Ramakrishnan
11ce5ffa4c
0.93.0 changelog
2016-12-28 08:59:25 -08:00
Girish Ramakrishnan
b1854f82f2
prettify init base image script
2016-12-28 08:59:25 -08:00
Girish Ramakrishnan
745b7a26b7
validate arguments only if data is not provided
2016-12-28 08:59:24 -08:00
Girish Ramakrishnan
764a38f23e
Fix DO image script to not use installer
2016-12-28 08:59:24 -08:00
Girish Ramakrishnan
7873fdc7bb
typo
2016-12-28 08:59:23 -08:00
Girish Ramakrishnan
76435460f0
redirect error
2016-12-28 08:59:20 -08:00
Girish Ramakrishnan
7e3a54ff1b
force the link for idempotency
2016-12-28 08:59:15 -08:00
Girish Ramakrishnan
61789e3fda
Use the installer.sh from the source tarball
...
This redesigns how update works. installer.sh now rebuild the package,
stops the old code and starts the new code. Importantly, it does not
download the new package, this is left to the caller. cloudron-setup
downloads the code and calls installer.sh of the downloaded code.
Same goes for updater.sh. This means that installer.sh itself is now
easily updatable.
Part of #152
2016-12-28 08:59:07 -08:00
Girish Ramakrishnan
441c5fe534
Add --data to pass raw data
...
This will be used by CaaS
2016-12-28 08:58:54 -08:00
Girish Ramakrishnan
f30001d98b
Add option to skip the base image init
...
This will be used for CaaS
Part of #152
2016-12-28 08:58:48 -08:00
Girish Ramakrishnan
fae0ba5678
Decouple installer from the base image script
...
This means that the base image does not have the installer anymore
and needs to be copied over.
Part of #152
2016-12-28 08:58:10 -08:00
Girish Ramakrishnan
7e592f34bd
base image is now port 22 (becomes 202 only after install)
2016-12-28 08:57:48 -08:00
Girish Ramakrishnan
691f6c7c5c
Use docker 1.12.5
...
Docker uses an embedded DNS server (127.0.0.11) for user defined networks (UDN).
With the latest releases of docker, specifying 127.0.0.1 as --dns makes the
containers resolve 127.0.0.1 _inside_ the container's networking namespace
(not sure how it worked before this).
The next idea was to only specify --dns-search=. but this does not work.
This makes docker setup the containers to use 127.0.0.1 (or 127.0.0.11 for UDN).
In my mind, the UDN case should work but doesn't (not sure why).
So, the solution is to simply go with no --dns or --dns-search. Sadly,
setting dns-search just at container level does not work either :/ Strangely,
docker run --network=cloudron --dns-search=. appimage # does not work
docker run --network=cloudron appimage # works if you manually remove search from /etc/resolv.conf
So clearly, something inside docker triggers when one of the dns* options is set.
This means that #130 has to be fixed at app level (For Go, this means to use the cgo resolver).
2016-12-28 08:57:48 -08:00
Girish Ramakrishnan
f5eb5d545f
use node 6.9.2 LTS
2016-12-28 08:57:43 -08:00
Girish Ramakrishnan
91e4f6fcec
Add CLOUDRON chain first
...
This allows us to not issue an 'upgrade' yet.
Part of #152
2016-12-28 08:57:38 -08:00
Girish Ramakrishnan
b759b12e90
Move cloudron-system-setup.sh out of installer
...
Part of #152
2016-12-28 08:57:30 -08:00
Girish Ramakrishnan
103019984b
Move firewall setup to container.sh
...
Part of #152
2016-12-28 08:57:20 -08:00
Girish Ramakrishnan
01126aaeea
move ssh configuration to container.sh
...
Note: appstore requires to be fixed to start the provisioning on port 22
Part of #152
2016-12-28 08:57:13 -08:00
Girish Ramakrishnan
a6ab8ff02f
Mount the btrfs user home data in container.sh
...
This allows it to be configurable easily at some point
Part of #152
2016-12-28 08:56:55 -08:00
Girish Ramakrishnan
b89886a945
Move systemd service creation scripts to container.sh
...
Part of #152
2016-12-28 08:56:46 -08:00