Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Jose Diaz-Gonzalez
5a74d5c247
Create the proper init file in a distribution-agnostic way
...
From http://unix.stackexchange.com/a/164092/105389
2016-01-02 04:08:54 -05:00
Jose Diaz-Gonzalez
89d96dfee1
Only trigger systemctl if that command exists
2016-01-02 02:30:34 -05:00
Jose Diaz-Gonzalez
80dc4cc3b6
Update all links to dokku repo
...
[ci skip]
2015-12-06 04:55:11 -05:00
Jose Diaz-Gonzalez
9d3c856afd
Merge pull request #1727 from louisbl/enable-redeploy-service
...
Enable dokku-redeploy systemd service.
2015-12-02 14:07:49 -05:00
Michael Hobbs
606036a50f
[ci skip] use ps:restore on instance boot
2015-12-01 11:54:36 -08:00
louisbl
2f95fa0a95
Fix #1726 . Enable dokku-redeploy systemd service.
2015-11-29 22:26:40 +01:00
Jose Diaz-Gonzalez
18d6e1be3b
Add special case commands for instances where we are running dokku in debian
...
Refs #976
2015-10-24 23:12:38 -04:00
Jose Diaz-Gonzalez
9878c0b6fa
Ensure we have a directory for the dokku motd message. Refs #976
2015-10-24 22:11:27 -04:00
Jose Diaz-Gonzalez
d6aa8d59f1
[ci skip] ensure users run dokku-installer as sudo user
2015-04-19 16:55:08 -04:00
Jose Diaz-Gonzalez
d9d3a16e5c
Prompt users to run the web installer via MOTD. Closes #943
2015-04-18 03:56:19 -04:00
Michael Hobbs
f9b0f3ad34
use upstart config from docker docs. closes #1015
2015-03-19 16:12:33 -07:00
Michael Hobbs
e760e1cc92
implement ps:restartall. closes #82 #218
2015-01-14 16:37:49 -08:00
Michael Hobbs
e8b4bd5a89
lintball
2014-12-21 14:51:42 -08:00
Michael Hobbs
3706392e65
test with wercker
2014-12-21 14:51:40 -08:00
Michael Hobbs
e99e2201cb
mv default VHOST creation to core install
2014-12-16 20:25:44 -08:00
Thomas Boerger
14b1743c2a
Added openSUSE support
...
I have done the first steps to get dokku running for other distros like
openSUSE. I have simply replaced the important places within the core
plugins with a check for DOKKU_DISTRO that gets exported by dokku
itself. It just replaces the apt-get and service start/restart/reload
functionality with the openSUSE counterparts.
2014-11-23 11:37:58 +01:00
Jose Diaz-Gonzalez
7b361e564f
Use 2 spaces for formatting bash
...
Also remove extra trailing newlines
2014-11-16 02:58:52 -05:00
rhy-jot
9eff936676
Remove outdated sed. Fixes #346
...
Starting apps on daemon start has been handed by the upstart 'dokku-redeploy' script for a while. (Also, the format of /etc/init/docker.conf changed and rendered the sed useless.)
2013-11-27 12:50:22 -08:00
Paul Lietar
83ce81fc51
Enable tracing in hooks when DOKKU_TRACE is set.
...
This makes it much easier to debug plugins.
Also source the 'dokkurc' file when starting dokku. This makes it easy
to define DOKKU_TRACE over ssh.
2013-11-18 20:59:48 +00:00
rhy-jot
805c5a27c6
Don't overwrite $DOKKU_ROOT/{HOSTNAME,VHOST}
2013-11-18 11:50:28 -08:00
Paul Lietar
a06d27ab45
Use the FQDN to setup the HOSTNAME and VHOST files.
...
The HOSTNAME environment var only contains the first part of the domain
name. Use the fqdn to have it entirely.
2013-11-15 03:07:51 +00:00
Jeff Lindsay
df7507d1be
normalizing shebang and bash options. also added long-term fix for bootstrap instructions
2013-10-29 17:13:02 -05:00
Paul Lietar
b5c8dd7436
Use DOKKU_ROOT instead of HOME.
...
HOME is not consistent if dokku is ran e.g. as root (for setup).
The DOKKU_ROOT variable will also make it possible to have the repositories stored in an arbitrary location (works-ish right now)
2013-10-28 21:15:17 +00:00
Paul Lietar
27d4bc8c3c
Replace gitreceive by a git plugin.
...
This removes the need for two distinct users.
Git pushes and dokku commands are sent using the same user.
2013-10-28 21:15:17 +00:00
Jose Diaz-Gonzalez
01d57ef0dc
New command: dokku delete <app>
...
Two new hooks are implemented:
- pre-delete $APP
- post-delete $APP
The following are implemented in the `post-delete` hook:
- `$APP` directory deletion (00_dokku-standard)
- nginx reload (nginx-vhosts)
The following command can be executed by either the `dokku` or `git` user as `sudo`:
sudo /etc/init.d/nginx reload
Refs #124
Closes #186
2013-10-27 17:49:11 -04:00
Alexander
53395bfa08
Redeploy apps on reboot, fixes #82
2013-08-17 00:04:08 +02:00
Jeff Lindsay
5c0f7320cf
doing it the mike-park way
2013-06-30 11:45:27 -05:00
Jeff Lindsay
79b099e401
moving install hook trigger into make install
2013-06-30 11:13:23 -05:00
Jeff Lindsay
17953fc5a0
initial attempt at plugins
2013-06-30 10:37:32 -05:00