Jose Diaz-Gonzalez
98b6481274
Add postgres:help command
2015-09-27 17:18:21 -04:00
Loïc Guitaut
a6da4ea218
Use our own image to wait for services
2015-09-24 11:47:11 +02:00
Loïc Guitaut
06e075d3a1
Do not always allocate a tty on connect
...
To import SQL files `connect` has to be used instead of `import`. Doing
so can’t work with the `-t` docker option, so now we check for a tty
before using this option.
Fixes #18
2015-09-19 00:52:33 +02:00
Loïc Guitaut
88d92122c8
Fix compatibility with dokku 0.4+
2015-09-16 23:51:06 +02:00
Loïc Guitaut
b2a83ca9a3
Compatibility with dokku 0.3.x & 0.4.x for help output
2015-09-11 23:30:55 +02:00
Loïc Guitaut
153b1b826e
Implement postgres:clone command
2015-09-11 02:55:52 +02:00
Loïc Guitaut
35da137071
Implement postgres:import command
2015-09-11 02:09:45 +02:00
Loïc Guitaut
db3763aa83
Use openssl rand to generate password
...
It should be more secure than hashing the current time.
2015-09-09 23:39:29 +02:00
Loïc Guitaut
6741582b92
Use PG tools from image when creating new DB
2015-09-09 18:30:17 +02:00
Loïc Guitaut
1085a0a01f
Use aanand/wait image to wait for service to be ready
2015-09-09 18:21:04 +02:00
Loïc Guitaut
32af344146
Remove call to docker kill
2015-09-09 18:15:53 +02:00
Loïc Guitaut
3ab22d6f6f
Use PG tools from docker image
...
Instead of installing dependencies on the host, directly use the binary
shipped with the postgres docker image. This will also prevent possible
problems when API changes for example.
2015-09-09 10:31:17 +02:00
Loïc Guitaut
1be1ba34a7
Use $PLUGIN_PATH instead of dirname
2015-09-09 00:05:45 +02:00
Jose Diaz-Gonzalez
ad4fae1b2a
Normalize database names in postgres. Closes #2
2015-09-07 01:49:28 -04:00
Jose Diaz-Gonzalez
ac2652fd92
make test
2015-09-06 22:53:02 -04:00
Jose Diaz-Gonzalez
2bc4c534b8
Properly implement port expose/unexpose
2015-09-06 22:10:16 -04:00
Jose Diaz-Gonzalez
5a4a87c62f
Move alias, link, unlink and logs commands into functions
2015-08-29 03:19:44 -04:00
Jose Diaz-Gonzalez
46e4f6f4c8
Move service checks into commands file
2015-08-29 02:58:45 -04:00
Jose Diaz-Gonzalez
b160c88412
Move info and list commands into shared functions
...
Also add better output formatting for both commands
2015-08-29 02:53:11 -04:00
Jose Diaz-Gonzalez
aa99da13cc
use config for ports
2015-08-29 02:37:43 -04:00
Jose Diaz-Gonzalez
972af5b984
Use central config for env vars
2015-08-29 01:53:34 -04:00
Jose Diaz-Gonzalez
54c984b5b6
quiet grep output
2015-08-28 23:25:53 -04:00
Jose Diaz-Gonzalez
c474ac0018
Ensure container exists before attempting to kill it
2015-08-25 17:21:27 -04:00
Jose Diaz-Gonzalez
788f8bec18
Fix logs subcommand
2015-08-23 22:07:03 -04:00
Jose Diaz-Gonzalez
e344e35144
initial commit
2015-08-23 18:56:23 -04:00