Commit Graph

9 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
a080b57221 fix: ensure any backup cron files are deleted when the service is destroyed
Closes dokku/dokku-redis#118
2018-12-02 05:10:07 -05:00
Jose Diaz-Gonzalez
fdb90b85a3 refactor: move unimplemented command detection into config file 2018-04-24 00:27:28 -04:00
Jody McIntyre
deb9317edf Support a separate data root for Docker binds
We run Dokku, and therefore dokku redis, in its own Docker container.
In order to make this work we map a path from the host into the
container as `/var/lib/dokku/services/redis`. Unfortunately the path
on the host is user-configurable, and generally _won't_ be the same
as the path in the container. This means that when we run `docker`
commands (e.g. to spin up Redis containers), the directory used for
bind mounts (the `-v` option) needs to be different.

This commit allows us to do this, but keeps the existing behaviour
(the redis root for Docker binds is the same as the redis root for
other uses) by default.
2018-04-10 20:44:59 -04:00
Jose Diaz-Gonzalez
b493c6a2a5 feat: add support for enhanced help output 2017-09-11 01:25:41 -04:00
Jose Diaz-Gonzalez
ada1241e26 feat: support alternate flags for destroying services 2017-09-10 03:54:58 -04:00
Jose Diaz-Gonzalez
43ebfed5d6 docs: clarify that data is deleted on destroy. Closes dokku/dokku-redis#72 2017-08-26 18:39:03 -04:00
Jose Diaz-Gonzalez
d0e373dcfe Remove config data 2016-08-29 10:52:42 -04:00
Jose Diaz-Gonzalez
f1e0989150 Conform to function declaration standards
- declare desc variable
- declare all positional arguments
- set the cmd
- properly handle DOKKU_APP_NAME
2016-05-16 00:04:56 -04:00
Jose Diaz-Gonzalez
fdf0c89532 Move all commands into subcommand structure 2016-05-15 22:47:15 -04:00