Commit Graph

286 Commits

Author SHA1 Message Date
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
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
Alexander
7c4f2fd801 Mention and link plugin page in the readme 2013-08-14 22:27:11 +02:00
Jeff Lindsay
772629279e Merge pull request #173 from rhy-jot/2013-08-13/docker-group
Add git & dokku to the docker group, creating it if it doesn't exist.
2013-08-13 21:31:47 -07:00
rhy-jot
5c0379f2b9 Add git & dokku to the docker group, creating it if it doesn't exist. 2013-08-13 20:23:29 -07:00
Kload
9be10ac2d9 Build image from Dockerfile instead of curl S3 2013-08-11 13:37:47 +02:00
Jeff Lindsay
2dfa0fac64 Merge pull request #146 from alexanderbeletsky/ssl2
issue #138: added wildcard support
2013-08-08 16:51:38 -07:00
Jeff Lindsay
b515ddbf01 Merge pull request #159 from amaltson/patch-2
Link to Heroku node.js sample app
2013-08-08 08:29:18 -07:00
Jeff Lindsay
6ecc94b4a2 Merge pull request #158 from amaltson/patch-1
Fix bootstrap on clean install
2013-08-08 08:28:27 -07:00
Arthur Maltson
d120ef4b13 Link to Heroku node.js sample app
Link to the app so users can easily follow along.
2013-08-08 09:42:00 -04:00
alexanderbeletsky
5ef7b00243 review comment by @rhy-jot 2013-08-08 10:17:39 +03:00
Arthur Maltson
584ad9d6d6 Fix bootstrap on clean install
On a clean Ubuntu 13.04 install, the bootstrap script fails with:
make: apt-add-repository: Command not found
make: *** [docker] Error 127

This happens because 'software-properties-common' needs to be installed.
2013-08-07 23:04:10 -04:00
Jeff Lindsay
bd269aad42 Merge pull request #154 from darkpixel/patch-1
Hint about build packs requiring config files.  Closes GH-141
2013-08-06 12:12:33 -07:00
Aaron C. de Bruyn
6eded2f099 Hint about build packs requiring config files
Add a hint to the README that buildpacks may require special configuration files (such as a Procfile) in order to deploy properly.
2013-08-06 12:01:02 -07:00
Jeff Lindsay
40fa670770 Merge pull request #150 from rhy-jot/master
Use apt to install lxc-docker vs downloading the .deb
2013-08-06 11:08:10 -07:00
rhy-jot
d56db3457b Use apt to install lxc-docker vs downloading the .deb 2013-08-05 13:47:44 -07:00
alexanderbeletsky
9e9cc0c96e issue #138: added wildcard support 2013-08-05 18:17:53 +03:00
Mat Sumpter
2f92d500f8 Added X-Forwarded-For to pass client IP to backend 2013-08-05 09:37:40 -04:00
Jeff Lindsay
7a24561194 Merge pull request #140 from chris-rock/hotfix/git_dependency
Hotfix/git dependency
2013-08-03 12:22:31 -07:00
Christoph Hartmann
ba8a84d422 moved git dependency to Vagrantfile 2013-08-03 09:33:15 +02:00
Jeff Lindsay
9b27a3faf6 Merge pull request #104 from alexanderbeletsky/ssl
issue #101: added ssl configuration
2013-08-02 19:47:34 -07:00
Jeff Lindsay
d26164f536 Merge pull request #132 from alexanderbeletsky/cleanup
No logs from cleanup step
2013-08-02 15:42:37 -07:00
Christoph Hartmann
3a80609166 add missing git dependency 2013-08-02 19:35:14 +02:00
Peter Haza
d3d6486169 I want to add env variables to new instances
I want all my deployments to have access to postgres, thus I'm creating a plugin which sets up a new user with access to a new database (on a postgres server in a different container). I want to expose the database access with an env variable, just like heroku does. To me it looks like release is the best place to put this hook.
2013-08-01 19:26:15 +02:00
alexanderbeletsky
33a3b85674 ssl ciphers config from @rhy-jot 2013-07-31 07:00:46 +03:00
alexanderbeletsky
4f82bc9d9a no logs from cleanup step 2013-07-30 12:50:14 +03:00
Jeff Lindsay
b44bf15c92 Merge pull request #127 from gaaady/patch-1
update readme to ubuntu 64
2013-07-29 18:32:13 -07:00
gaaady
e616da514c update readme to ubuntu 64 2013-07-28 16:24:24 +03:00
Jeff Lindsay
eb189d639c Merge pull request #121 from alexanderbeletsky/cleanup
issue #120 add step to clean up all dead instances and none used images
2013-07-26 08:12:09 -07:00
alexanderbeletsky
84337da262 ignoring all error messages from clean up 2013-07-26 10:47:40 +03:00