Commit Graph

48 Commits

Author SHA1 Message Date
Girish Ramakrishnan
331b4d8524 use docker 1.9.0 2015-11-18 18:28:28 -08:00
Girish Ramakrishnan
1e19f68cb5 Install docker binaries instead of apt
The apt binaries lxc-* are obsolete and replaced with 'docker-engine'
packages. The new repos however do not allow pinning to a specific version.

so brain dead.

https://docs.docker.com/engine/installation/binaries/#get-the-linux-binary
2015-11-18 13:02:51 -08:00
Girish Ramakrishnan
00ee89a693 fix paths 2015-11-16 14:31:39 -08:00
Girish Ramakrishnan
ac14b08af4 we have to use 4.1.1 2015-11-16 14:31:39 -08:00
Girish Ramakrishnan
b9a3c508c9 Fix target path 2015-11-12 06:58:01 -08:00
Girish Ramakrishnan
9ae49e7169 link npm 2015-11-11 22:04:58 -08:00
Girish Ramakrishnan
7a1cdd62a4 install node 4.2.2 2015-11-11 16:02:42 -08:00
Girish Ramakrishnan
15f686fc69 reboot automatically on panic after 5 seconds 2015-11-10 01:53:09 -08:00
Girish Ramakrishnan
bb040eb5a8 give yellowtent user access to cloudron logs 2015-11-02 13:20:43 -08:00
Girish Ramakrishnan
51a0ad70aa log to journald instead 2015-11-02 08:54:10 -08:00
Girish Ramakrishnan
71faa5f89e Move ssh to port 202 2015-11-01 13:16:32 -08:00
Girish Ramakrishnan
fe0c1745e1 make it explicit that logrotate is run via cron in base system 2015-10-14 15:08:38 -07:00
Girish Ramakrishnan
2cdf73adab Use 20m of logs per app 2015-10-13 11:59:28 -07:00
Girish Ramakrishnan
04e27496bd remove tmpreaper (will use systemd for this) 2015-10-12 10:52:55 -07:00
Johannes Zellner
8303991217 Revert "install specific version of python"
The specific version does not create /usr/bin/python but only
the exact version /usr/bin/python2.7

The meta package python is the only one creating that link and
according to https://wiki.ubuntu.com/Python/3 /usr/bin/python
will not point to version 3 anytime soon at all.

This reverts commit be128bbecfd2afe9ef2bdca603a3b26e8ccced7b.
2015-10-12 15:02:05 +02:00
Girish Ramakrishnan
99489e5e77 install specific version of python 2015-10-11 10:02:44 -07:00
Johannes Zellner
5c9ff468cc Add python to the base image 2015-10-11 18:48:24 +02:00
Girish Ramakrishnan
0cd56f4d4c configure cloudron to use UTC
local timezone should be tracked by the webadmin/box code
2015-09-16 13:17:32 -07:00
Girish Ramakrishnan
4b5ac67993 Revert "Disable rsyslog"
This reverts commit 3c5db59de2b6c2ef8891ecba54496335b5e2d55f.

Don't revert this. Maybe some system services use this.
2015-09-16 09:48:47 -07:00
Girish Ramakrishnan
cb73218dfe Disable rsyslog 2015-09-15 14:32:47 -07:00
Girish Ramakrishnan
5523c2d34a Disable forwarding to syslog 2015-09-15 14:29:16 -07:00
Girish Ramakrishnan
a4d0394d1a Revert "Move ssh to port 919"
This reverts commit 4e4890810f3a22e7ec990cc44381a2c243044d99.

This change is not done yet
2015-09-10 11:40:27 -07:00
Girish Ramakrishnan
8292e78ef2 Move ssh to port 919 2015-09-10 10:32:59 -07:00
Girish Ramakrishnan
a5d122c0b3 Leave a note on singleshot After= behavior
"Actually oneshot is also a bit special and that is where RemainAfterExit comes in. For oneshot, systemd waits for the process to exit before it starts any follow-up units (and with multiple ExecStarts I assume it waits for all of them). So that automatically leads to the scheme in berbae's last post. However, with RemainAfterExit, the unit remains active even though the process has exited, so this makes it look more like "normal" service with "
2015-09-07 22:37:23 -07:00
Girish Ramakrishnan
47b662be09 Remove unnecessary alias 2015-09-07 20:53:26 -07:00
Girish Ramakrishnan
0a679da968 Type belongs to service 2015-09-07 14:10:34 -07:00
Girish Ramakrishnan
59d174004e box code has moved to systemd 2015-09-07 11:19:16 -07:00
Girish Ramakrishnan
b73fc70ecf limit systemd journal size 2015-08-30 21:04:39 -07:00
Girish Ramakrishnan
c90e0fd21e do-resize resizes the disk it seems 2015-08-26 23:38:01 -07:00
Girish Ramakrishnan
a6680a775f Start with 8gb instead 2015-08-26 16:02:51 -07:00
Girish Ramakrishnan
5a67be2292 Change ownership only of installer/ 2015-08-26 16:01:45 -07:00
Girish Ramakrishnan
af8f4676ba systemd does not use /etc/default/docker 2015-08-26 15:32:40 -07:00
Girish Ramakrishnan
b51cb9d84a Remove redundant variable 2015-08-26 15:22:55 -07:00
Girish Ramakrishnan
ec7a61021f create single btrfs partition
apps and data consume space from the same btrfs partition now
2015-08-26 15:19:57 -07:00
Girish Ramakrishnan
3a1bfa91d1 Create app and data partitions dynamically 2015-08-26 09:59:45 -07:00
Girish Ramakrishnan
a4f77dfcd0 Create systemd service to allocate swap
This can be used to make the swap creation dynamic based on the
ram in the cloudron
2015-08-26 09:11:05 -07:00
Girish Ramakrishnan
795ba3e365 Not sure why this is here 2015-08-26 00:07:15 -07:00
Girish Ramakrishnan
83ef4234bc Fix typo 2015-08-25 23:43:42 -07:00
Girish Ramakrishnan
b12b464462 Set RemainAfterExit
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750683
2015-08-25 23:43:04 -07:00
Girish Ramakrishnan
04726ba697 Restore iptables before docker 2015-08-25 23:27:44 -07:00
Girish Ramakrishnan
4d607ada9d Make installer a systemd service 2015-08-25 23:25:42 -07:00
Girish Ramakrishnan
afdde9b032 Disable forwarding from containers to metadata IP 2015-08-25 10:46:23 -07:00
Girish Ramakrishnan
14333e2910 Enable memory accounting 2015-08-24 22:34:51 -07:00
Girish Ramakrishnan
3557e8a125 Use constants from the box repo 2015-08-12 19:57:01 -07:00
Girish Ramakrishnan
9e0bb6ca34 Use latest images 2015-08-12 19:04:37 -07:00
Girish Ramakrishnan
fd74be8848 Update docker to 1.7.0 2015-08-10 19:17:21 -07:00
Girish Ramakrishnan
c51c715cee Use systemctl 2015-08-10 17:57:24 -07:00
Girish Ramakrishnan
d3fb244cef list ldap as 0.0.25 change 2015-08-04 16:29:49 -07:00