Commit Graph

314 Commits

Author SHA1 Message Date
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
Jose Diaz-Gonzalez
bcfaefa896 Enable 'nginx reload' support for git and dokku user. Refs #124. Refs #186 2013-10-25 02:42:49 -04:00
Alexander
85f14baad5 Introduce URL for app. Plugins can override this.
fixes #242
2013-10-24 13:44:05 +02:00
Alexander
c0a2683744 Merge branch 'support-for-cached-stack-tarball-on-vagrant'
* support-for-cached-stack-tarball-on-vagrant:
  Allow bootstraping Vagrant VM with a cached stack tarball
2013-10-24 13:25:51 +02:00
Fabio Rehm
96f0d8e2fa Allow bootstraping Vagrant VM with a cached stack tarball 2013-10-24 12:46:09 +02:00
rhy-jot
c90fd9406a Merge pull request #258 from mikexstudios/master
Made `commands` in config plugin executable to use with pluginhook.
2013-10-22 15:35:18 -07:00
Michael Huynh
7e201e9eb0 Made commands in config plugin executable to use with pluginhook. 2013-10-22 18:25:21 -04:00
rhy-jot
faac15bddb Added completed items from 0.2.0 roadmap (#55) to HISTORY.md 2013-10-21 18:27:47 -07:00
Alexander
98168b0e0b Merge pull request #244 from josegonzalez/patch-1
heroku-like configuration handling for dokku
2013-10-17 14:49:01 -07:00
Jose Diaz-Gonzalez
a308ff6546 heroku-like configuration handling for dokku
refs #55
superscedes #188
2013-10-17 17:47:19 -04:00
rhy-jot
2d76bfb9d3 Merge pull request #249 from bit/master
use http for docker apt repository
2013-10-17 13:33:29 -07:00
j
d617b73ece use http for docker apt repository 2013-10-17 22:25:29 +02:00
Alexander
13cda0fd16 make all -> make install 2013-10-15 22:49:56 +02:00
Alexander
b5ce871da4 Merge pull request #241 from musicglue/pre-build-hook
add pre-build hook
2013-10-14 13:21:26 -07:00
Alexander
fb3051d108 Merge pull request #240 from jaseg/authors
Added myself to AUTHORS - jaseg
2013-10-14 13:18:04 -07:00
Alexander
925a0b0f05 Merge pull request #219 from jaseg/patch-1
Update Makefile: Do not try to install on "make" or "make all"
2013-10-14 13:17:36 -07:00
Lee Henson
c05007a9d2 normalise 'build' function args to match 'release' and 'deploy' 2013-10-10 18:23:52 +01:00
jaseg
d8cd86fa8b Added myself to AUTHORS - jaseg 2013-10-09 22:02:38 +02:00
jaseg
c1c96e22ce Update Makefile: Do not try to install on "make" or "make all"
To be consistent with usual makefile usage and to not surprise people too much, only do permanent changes to the system when explicitely prompted to do so via "make install" instead of on any "make" or "make all" invocation, which is usually used for *building*, not *installing* things.
2013-10-09 21:54:56 +02:00
Alexander
04e7934104 Merge pull request #221 from jaseg/patch-3
receiver: fix shebang for non-standard bash locations
2013-10-09 12:39:06 -07:00
Alexander
3048c181e7 Merge pull request #220 from jaseg/patch-2
bootstrap.sh: Add shebang, Error out when apt-get is not found
2013-10-09 12:20:23 -07:00
Alexander
657e6fd543 Merge pull request #237 from rajivm/make-run-interactive-236
resolves #236, adding support for dokku run commands to be interactive
2013-10-09 12:15:34 -07:00
Rajiv Makhijani
ce81497156 added myself to authors 2013-10-09 14:03:26 -05:00
Rajiv Makhijani
4f8604777a resolves #236, adding support for dokku run commands to be interactive 2013-10-08 20:48:22 -05:00
jaseg
83e4744fa5 Support non-standard bash locations 2013-10-04 14:47:23 +02:00
jaseg
85ab9944fa bootstrap.sh: Add shebang, Error out when apt-get is not found
...to fail more gracefully on systems without apt.
2013-10-04 14:38:34 +02:00
Alexander
68bbf0d888 Merge pull request #215 from kanterov/master
Handle pipe failures
2013-10-02 13:50:37 -07:00
Alexander
2b2c68ddd7 Use pre-built buildstep image from s3. Add option to build your own. 2013-09-30 22:48:27 +02:00
Gleb Kanterov
681de274a7 Handle pipe failures 2013-09-14 14:16:46 +07:00
rhy-jot
9b4fe6badd Merge pull request #204 from statianzo/forwarded-proto
Set X-Forwarded-Proto Header
2013-09-09 19:17:03 -07:00
Jason Staten
ba1f1bc30d Add X-Forwarded-Port and X-Request-Start
Adding additional proxy headers to match what Heroku provides. Also,
X-Request-Start is compatible with NewRelic's latest agent[1].

[1]: http://blog.newrelic.com/2013/02/21/using-new-relic-on-heroku-read-how-our-new-ruby-agent-measures-queue-time/
2013-09-09 15:46:19 -06:00
Jason Staten
7f4f46a1e2 Set X-Forwarded-Proto Header
Heroku passes the X-Forwarded-Proto header to indicate the protocol of
the incoming request[1]. Ruby's rack relies on this header to
determine if a request is HTTPS[2].

Also, the X-Scheme header was removed to eliminate redundant passing of
the scheme.

[1]: https://devcenter.heroku.com/articles/http-routing#heroku-headers
[2]: https://github.com/rack/rack/blob/master/lib/rack/request.rb#L77
2013-09-09 12:12:01 -06:00
Alexander
3a111a8308 Merge pull request #189 from jeffutter/patch-1
Add nginx configure hook
2013-08-27 07:53:40 -07:00
Jeffery Utter
1a7d68a3fc Add nginx configure hook
This adds a pluginhook for nginx-configure to be called after the main nginx configuration is called and before nginx is reloaded. This will allow other plugins to modify the nginx configuration
2013-08-27 09:47:41 -05:00
rhy-jot
6a7de8d7e8 Restore software-properties-common 2013-08-24 11:21:55 -07:00
rhy-jot
fbf2b28512 Install docker from dotCloud's new repository 2013-08-23 17:58:07 -07:00
Alexander
774b1f3c45 Merge pull request #180 from asm89/add-run-cmd
Add dokku run command to run commands in the app env
2013-08-21 14:47:51 -07:00
Alexander
7b8b8172e8 Add run command to README 2013-08-21 23:46:35 +02:00
Alexander
3e9e6127a7 run-cli -> run, fix help formatting 2013-08-21 00:02:52 +02:00
Alexander
6ead1ab943 Fix that only the output the last plugin command is shown
Plugin "commands" should end with "cat" because the output of each
plugin's command is piped through the next one by pluginhook
2013-08-19 21:22:18 +02:00
Alexander
2563581f49 Update help command 2013-08-18 14:32:14 +02:00
Alexander
c773e52508 Add dokku run-cli command to run commands in the app env 2013-08-18 14:30:16 +02:00
Alexander
4b5b86173f Remove redundant command from dokku-standard plugin 2013-08-18 14:27:38 +02:00
rhy-jot
8359b9613d Merge pull request #179 from kubenstein/master
Remove leading 'remote:' from git output
2013-08-17 13:17:54 -07:00
Jakub Niewczas
0254cb5907 remove leading 'remote:' from git output 2013-08-17 18:29:33 +02:00
rhy-jot
1c27f1b70a Merge pull request #168 from Kloadut/docker-build
Build image from Dockerfile instead of curling S3
2013-08-16 16:23:14 -07:00
Alexander
1751a4ad74 Merge pull request #134 from phaza/patch-1
I want to add env variables to new instances
2013-08-16 15:37:07 -07:00
rhy-jot
dfcb52a079 Merge pull request #178 from asm89/redeploy
Redeploy apps on reboot, fixes #82
2013-08-16 15:06:29 -07:00
Alexander
53395bfa08 Redeploy apps on reboot, fixes #82 2013-08-17 00:04:08 +02:00
rhy-jot
84cf39bf09 Merge pull request #145 from msumpter/patch-2
Added X-Forwarded-For to pass client IP to backend
2013-08-15 21:10:09 -07:00