Commit Graph

12 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
894b17ec2a feat: upgrade to redis 4.0.11 2018-10-10 23:19:32 -04:00
dhose
8bd08fa2ff Upgrading Redis to version 4.0.8. 2018-02-07 20:31:18 +01:00
Mike Schroll
34d63fd2c6 Updated all instances of 3.2.5 to 3.2.8 2017-04-21 00:57:47 -04:00
Jakob Krigovsky
79c9542fb8 Update Redis to v3.2.5 2016-12-03 14:01:06 +01:00
Jose Diaz-Gonzalez
4427c31e3f Upgrade docker image 2016-08-27 21:44:20 -04:00
Jose Diaz-Gonzalez
5ff2445998 Downgrade redis 2016-08-27 21:20:45 -04:00
Jose Diaz-Gonzalez
36762e69af Update docker image 2016-08-27 16:31:20 -04:00
Mike Schroll
8e47169fb8 Updated to 3.0.7 2016-04-12 10:30:43 -04:00
Jose Diaz-Gonzalez
1b3daa861e Upgrade image version to 3.0.6 2016-01-17 01:08:06 -05:00
Jose Diaz-Gonzalez
2e7a3ce709 Use redis 3.0.5
Closes #30
2015-10-26 22:00:25 -04:00
Loïc Guitaut
9f3ae5d078 Display infos from list command in columns
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-13 10:47:18 +02:00
Loïc Guitaut
baeea96731 Revamp link/unlink commands
Previously we were exporting `REDIS_URL` via the docker-args* hooks.
This seems to confuse our users (since the env var is not displayed
when calling `dokku config`) and in some cases it also seems that the
env var is not correctly set.
Another problem is if several services are linked to the same app and
if they are exporting `REDIS_URL` as well. Then we don’t know what
will be set.

To resolve theses issues, this patch changes the way we manage the env
vars. We use standard dokku commands (`config` and `docker-options`) so
config is set on the linked application and can be reviewed by the user
easily.
We also handle the case where `REDIS_URL` is already set on the
linked application. When it’s the case, we automatically generate
another env var based on the following pattern: DOKKU_<service
name>_<random unused color>_URL. For example, this can give:
DOKKU_REDIS_BLACK_URL.

Since naming is now handled automatically, the `alias` command has been
removed. If the user wants to set a different env var on her app, it’s
just a matter of using `dokku config:set` and pasting the wanted value.

IP in DSN has been removed in favor of host name exported by docker in
the container. This is more robust and simpler since the IP can change
but the name will remain the same if the service container restarts for
instance.

With all those changes, a new command has been introduced: `promote`.
The goal of this command is to easily set a service as the primary one
when several are linked to an app. (see README for an example)
2015-10-05 15:29:36 +02:00