Michael Hobbs
b30db17def
use column to format help output
2015-07-28 09:31:56 -07:00
Michael Hobbs
c7cb014580
convenience functions for app container state
2015-07-13 09:27:42 -07:00
Michael Hobbs
3e58824377
Merge branch 'master' into kilianc_hotfix-#1259
2015-07-12 16:27:10 -07:00
Michael Hobbs
ee4fca572e
mv dockerfile port logic to common function + tests. closes #1280
2015-07-12 15:57:12 -07:00
Michael Hobbs
4629a9909b
Merge pull request #1291 from progrium/1261_mh-config-args-refactor
...
initial pass at config plugin arguments refactor
2015-07-10 07:55:18 -07:00
Michael Hobbs
64d76724e5
fix typo. good thing we have a test suite. :P
2015-07-09 12:35:43 -07:00
Michael Hobbs
033a267573
fix urls command when NO_VHOST=1 + tests. fixes #1294
2015-07-09 12:12:58 -07:00
Michael Hobbs
a84397895a
initial pass at config plugin arguments refactor
2015-07-06 19:41:17 -07:00
Kilian Ciuffolo
5f8b2d291c
fixes #1259 now ignores protocol of Dockerfile EXPOSE
2015-07-04 10:37:22 -07:00
Michael Hobbs
0e53a76a1a
[ci skip] ensure we parse the correct section of the string. closes #1271
2015-07-03 07:47:30 -07:00
Michael Hobbs
ea66619f3c
allow passing of docker build options and document dockerfile deployment. closes #1231
2015-06-15 09:00:33 -07:00
Loïc Guitaut
9a71fff3f1
Use --no-cache when building Dockerfile
...
Since `docker build` is only invoked when actually building a new image
from a Dockerfile, using `--no-cache` allows to have an updated image
even if the Dockerfile hasn't changed.
This works well with Dockerfiles using `git` or packages referencing
latest versions instead of "static" ones.
2015-06-11 12:05:07 +02:00
Michael Hobbs
e9663caf5c
updated dokku ls output with container status
2015-04-24 10:49:18 -07:00
Michael Hobbs
39dd4fc700
fix typo in output
2015-04-21 23:22:08 -07:00
Michael Hobbs
eb0935a691
make dokku ls pretty
2015-04-21 22:02:21 -07:00
Michael Hobbs
99d2601f2f
fix tests
2015-04-21 14:32:30 -07:00
Michael Hobbs
e27d0e6fa5
wrap container id checks and reading into common function that attempts new and old style container id files
...
aggregate log streams
2015-04-21 14:32:30 -07: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
3onyc
bc8750ebe3
Call pre-build-dockerfile before docker build
2015-04-14 20:46:19 +02:00
Michael Hobbs
c2053d5322
support dockerfiles without expose command. closes #1083
2015-04-03 12:13:39 -07:00
Michael Hobbs
f9b0f3ad34
use upstart config from docker docs. closes #1015
2015-03-19 16:12:33 -07:00
Michael Hobbs
767b45ae56
use config:set-norestart
2015-03-19 08:09:11 -07:00
Michael Hobbs
1a7586cd03
don't use config:set
2015-03-19 07:54:45 -07:00
Michael Hobbs
2834ce1f1a
extract first port from Dockerfile and set config variable for use in deploy phase. closes #993
2015-03-19 07:54:45 -07:00
Lewis Marshall
3a7e1bfa16
Fix URL schemes in dokku urls output
...
Previously, the presence of TLS certificates would cause `dokku urls` to
output all https URLs, even for domains which were not configured to use
TLS.
This change introduces a URLS file in the app's directory which contains
the URLs with schemes based on whether they have been configured to use
TLS in the nginx config.
Signed-off-by: Lewis Marshall <lewis@lmars.net >
2015-03-01 01:29:38 +00:00
Michael Hobbs
179a5e611b
introduce pre/post-build-buildstep and pre/post-release-buildstep
2015-02-07 17:56:01 -08:00
Michael Hobbs
7357df7c9d
first pass at dockerfile support
2015-02-07 17:56:01 -08:00
Michael Hobbs
1cfb1fc3fc
implement dokku shell and ls (by @plietar). refs #312
2015-02-07 14:46:17 -08:00
Michael Hobbs
6ad65dd9b4
first stab at a common functions library. include argument parsing and a few definitions wired up. closes #932 . closes #945
2015-02-05 11:32:46 -08:00
Michael Hobbs
1b22f69b9e
support both docker-args PHASE and docker-args-PHASE for the time being. closes #906
2015-01-29 18:33:20 -08:00
Michael Hobbs
4ad0c3022e
use tty cmd to detect if we have one. closes #921
2015-01-24 20:00:11 -08:00
Michael Hobbs
3e100e3002
conditionally set interactive and tty on dokku run.
...
closes #552
closes #913
2015-01-21 13:49:46 -08:00
Michael Hobbs
e760e1cc92
implement ps:restartall. closes #82 #218
2015-01-14 16:37:49 -08:00
Jose Diaz-Gonzalez
93a01fb763
Pass command being executed when retrieving DOCKER_ARGS via pluginhook. Closes #829
2015-01-01 15:14:47 -05:00
Michael Hobbs
43fe6edb04
build app urls based on wildcard ssl or app ssl
2014-12-23 13:52:50 -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
Andrew Starr-Bochicchio
294b419da5
Display the port for an app when falling back to the ip address.
2014-12-17 21:20:18 -05:00
Michael Hobbs
56472bd08c
VHOST fallback
2014-12-16 23:01:32 -08:00
Michael Hobbs
e99e2201cb
mv default VHOST creation to core install
2014-12-16 20:25:44 -08:00
Jose Diaz-Gonzalez
5bf1ba7ed7
Merge pull request #783 from progrium/nginx-cleanup
...
New domains plugin and nginx extension
2014-12-16 17:15:30 -05:00
Michael Hobbs
50115d3640
print out urls with scheme
2014-12-15 18:02:57 -08:00
Jose Diaz-Gonzalez
b9b9d6303a
Add a dokku trace command to allow easy toggling of the DOKKU_TRACE option
2014-12-12 01:07:43 -05:00
Jose Diaz-Gonzalez
01e7f1cdb6
Output *all* hosts on multiple lines
2014-12-11 02:34:08 -05:00
Jose Diaz-Gonzalez
0865ff3f79
Use updated VHOST file instead of URL file when outputting the current URL to an app
...
Note that this may include more than one URL to an app
2014-12-11 02:16:52 -05:00
Jose Diaz-Gonzalez
04dbe31919
Unify the way in which all error messages are specified
...
Other parts of dokku use one-liners where possible, so these parts should as well
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
d307a5b8ec
Output error message when a command is not found. Closes #778
...
Plugins with commands will need to implement a catch-all command that exits with the `DOKKU_NOT_IMPLEMENTED_EXIT`` code (10). This signals to dokku that a given plugin has indeed not executed anything for a plugin (which may not always be the case).
Using plugins that do not implement this pattern will result in those plugins silencing the error message.
2014-11-23 18:09:11 -05:00
Jose Diaz-Gonzalez
1e5a904747
Merge pull request #779 from progrium/minor-formatting
...
Minor bash formatting changes
2014-11-23 16:49:21 -05:00
Jose Diaz-Gonzalez
8bc3d372ec
Minor bash formatting changes
2014-11-23 16:42:21 -05:00