Commit Graph

62 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
26a1948e50 Update functions 2018-12-02 05:13:34 -05:00
Jose Diaz-Gonzalez
11435f7452 Merge branch 'master' into bug/ps/grep/binary 2018-12-02 04:57:41 -05:00
Jose Diaz-Gonzalez
5620147f89 Merge pull request #145 from dpoirier/use_if_exists_with_import
Use --if-exists with import
2018-10-10 09:20:54 -04:00
Jose Diaz-Gonzalez
59d285f2f1 feat: add ability to upgrade service image and image-version 2018-10-10 00:14:08 -04:00
Jānis Vītols
e6810fa7e0 Fix No such container: Binary problem
Ignore `docker ps` truncation. Looks like in new Docker version
(in my case Docker version 18.06.0-ce, build 0ffa825) long commands are truncated
and sometimes can return/contain binary output (truncation `...` symbols are binary).
Because of such output `grep -e` fails to find container.

Workaround was to use `--no-trunc` for `docker ps` command.
2018-08-28 10:29:12 +03:00
Jose Diaz-Gonzalez
e78cc9bd36 Use --if-exists with import
To resolve https://github.com/dokku/dokku-postgres/issues/142
2018-04-30 13:55:58 -04:00
Jose Diaz-Gonzalez
ad62febd59 refactor: make variable as dns hostname more clear 2018-04-24 02:54:52 -04:00
Jose Diaz-Gonzalez
a2b1fbb737 refactor: move unimplemented command detection into config file 2018-04-24 00:27:22 -04:00
Jose Diaz-Gonzalez
a29039ecd2 fix: silence errors when a container does not exist. Closes dokku/dokku-redis#85 2018-04-23 15:52:17 -04:00
Jose Diaz-Gonzalez
8a9efd8f62 refactor: allow usage of the same variable to disable docker pulls 2018-04-23 06:56:51 -04:00
Jose Diaz-Gonzalez
bd2e292e1e feat: use custom env var to disable pull actions 2018-04-11 15:11:58 -04:00
Jose Diaz-Gonzalez
759eede6d6 feat: support a separate data root for Docker bind mounts
This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.
2018-04-10 23:33:53 -04:00
Jose Diaz-Gonzalez
00f9cb8b62 feat: add support for enhanced help output 2017-09-11 01:25:34 -04:00
Jose Diaz-Gonzalez
e7802ca80e feat: add ability to specify custom flags on clone/create
Refs dokku/dokku-redis#64
2017-08-26 18:10:21 -04:00
Jose Diaz-Gonzalez
e08854dc31 fix: drop unused config dir 2017-08-26 05:15:37 -04:00
Jose Diaz-Gonzalez
cba4a7f0cd feat: add s3 backup support 2016-10-31 11:39:31 -06:00
Jose Diaz-Gonzalez
47db80bd2a Pin dokkupaas/wait:0.2 2016-09-21 01:27:07 -06:00
Jose Diaz-Gonzalez
76251e7643 Move link file creation up 2016-08-29 10:49:46 -04:00
Jose Diaz-Gonzalez
1f31cd82c5 Refactor common functions into separate file 2016-08-29 02:36:17 -04:00
Jose Diaz-Gonzalez
cc0cfca7fe Add --internal-ip flag to info command 2016-08-28 23:24:27 -04:00
Jose Diaz-Gonzalez
59062af575 Fix expose tests 2016-08-28 22:15:13 -04:00
Jose Diaz-Gonzalez
84ccfda9d7 Document exposed ports when an invalid number of arguments are specified 2016-08-28 21:25:00 -04:00
Jose Diaz-Gonzalez
69944871da Add --id flag 2016-08-28 17:56:10 -04:00
Jose Diaz-Gonzalez
470840739d Add support for flags on the service:info command 2016-08-28 05:34:55 -04:00
Jose Diaz-Gonzalez
425c7e07d1 Add missing mkdir calls 2016-08-27 01:39:31 -04:00
Jose Diaz-Gonzalez
9328c22801 Use cat and double-quotes when retrieving the password 2016-08-27 01:39:26 -04:00
Jose Diaz-Gonzalez
3450d5bf08 Add missing SERVICE_ROOT env var 2016-08-27 01:10:42 -04:00
Jose Diaz-Gonzalez
5c9f70c3fd Output the config/data directories when performing service:info 2016-08-27 00:56:54 -04:00
Jose Diaz-Gonzalez
031f5e4e3a Only wait for a single port 2016-08-26 23:05:34 -04:00
Jose Diaz-Gonzalez
0160aac115 Fix calls to docker-options plugin under all 0.4.x releases 2016-06-09 12:31:59 -04:00
Jose Diaz-Gonzalez
68fe59e7fd Alphabetize functions to improve organization 2016-05-16 02:28:32 -04:00
Jose Diaz-Gonzalez
6090fa6aa6 Remove remaining direct dokku calls 2016-05-16 00:27:26 -04:00
Jose Diaz-Gonzalez
85f0110356 Move all commands into subcommand structure 2016-05-15 23:07:24 -04:00
Jose Diaz-Gonzalez
f88531dd00 Remove call to dokku service:info in favor of service_info 2016-05-15 19:48:45 -04:00
Jose Diaz-Gonzalez
1ee3f67349 Use docker-options functions directly to avoid setting DOKKU_APP_NAME twice 2016-05-15 19:48:45 -04:00
Jose Diaz-Gonzalez
ae962bb7bf quote SERVICE_NAME value 2016-05-08 15:03:56 -04:00
Jose Diaz-Gonzalez
00ae636d01 use an extension for sed calls on os x 2016-05-08 15:03:44 -04:00
Jose Diaz-Gonzalez
f9d5e92d27 trim whitespace from url 2016-05-08 15:03:25 -04:00
Jose Diaz-Gonzalez
0992ffe49e shellcheck disable 2016-05-08 15:03:10 -04:00
Jose Diaz-Gonzalez
77c26644e9 use config functions properly 2016-05-08 15:02:34 -04:00
Jose Diaz-Gonzalez
dbbae006e8 Quote more variables 2016-05-08 03:11:18 -04:00
Jose Diaz-Gonzalez
93c720aeb7 quote $APP variable 2016-05-08 03:10:52 -04:00
Jose Diaz-Gonzalez
543fdaa633 Rework how config vars are sourced
- ensure we source config/functions from the correct directory
- move config sourcing up before DOKKU_TRACE to reduce trace output
2016-05-08 03:10:41 -04:00
Jose Diaz-Gonzalez
40d35160d3 create container if not exists on service:start 2016-05-04 01:55:56 -04:00
Jose Diaz-Gonzalez
23d10ad09c Read POSTGRES_DATABASE_SCHEME variable from app when setting DATABASE_URL 2016-04-19 14:51:53 -04:00
Loïc Guitaut
9e37cefbbf Display infos from list command in columns
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-12 12:01:48 +02:00
Loïc Guitaut
d6cb9b6834 Use complete service URL when checking config 2015-09-30 23:52:20 +02:00
Jose Diaz-Gonzalez
5c542287a3 Merge pull request #30 from dokku/lg-unlink-on-app-destroy
Remove linked app from links file when destroying app
2015-09-30 10:56:12 -04:00
Loïc Guitaut
bb7d44f39e Remove linked app from links file when destroying app 2015-09-29 23:10:26 +02:00
Loïc Guitaut
f0a647053b Replace underscore by dash in exposed hostname
Fixes #28
2015-09-29 18:51:49 +02:00