Commit Graph

95 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
b5e587c717 Use blockquote 2016-11-06 14:31:10 -07:00
Jose Diaz-Gonzalez
36c0a8ff40 Make username a link 2016-11-06 14:29:51 -07:00
Jose Diaz-Gonzalez
5e14da3c52 Add not regarding support S3 region for backups. Refs dokku/dokku-mysql#66 2016-11-06 14:24:09 -07:00
Jose Diaz-Gonzalez
f001535060 feat: add s3 backup support 2016-10-31 11:39:22 -06:00
Jose Diaz-Gonzalez
6dddc72509 Fix help output for enter command 2016-08-29 09:45:17 -04:00
Jose Diaz-Gonzalez
86b835eca1 Add the ability to enter a running container 2016-08-29 08:19:52 -04:00
Jose Diaz-Gonzalez
a13bbe0bf9 Add --service-root flag to info command 2016-08-29 05:53:47 -04:00
Jose Diaz-Gonzalez
59fe01c0cf Add --internal-ip flag to info command 2016-08-28 23:24:15 -04:00
Jose Diaz-Gonzalez
bd3cda4e42 Add --id flag 2016-08-28 17:55:44 -04:00
Jose Diaz-Gonzalez
c806328cc8 Add support for flags on the service:info command 2016-08-28 05:38:03 -04:00
Jose Diaz-Gonzalez
b18797ed3e Update docker image 2016-08-27 16:27:28 -04:00
Jose Diaz-Gonzalez
d14258560d add sudo to command
consistency with http://dokku.viewdocs.io/dokku~v0.6.3/application-deployment/#create-the-backing-services
2016-08-26 23:31:56 -04:00
Vitaly Domnikov
c148691ea7 rename admin command 2016-07-11 16:51:10 -07:00
Vitaly Domnikov
0d64d42218 add mongo:admin command 2016-07-11 16:18:29 -07:00
Jose Diaz-Gonzalez
ea9971404f Add testing for all supported versions of dokku
Also drop support for 0.3.x
2016-05-08 02:59:32 -04:00
Jose Diaz-Gonzalez
6eba229b7f upgrade mongo to 3.2.6 2016-05-06 14:15:31 -04:00
Jose Diaz-Gonzalez
9a7c88550d Read MONGO_DATABASE_SCHEME variable from app when setting MONGO_URL 2016-04-19 15:11:51 -04:00
Moz Morris
021cd11942 Fixup import docs 2016-04-10 10:43:31 +01:00
Jose Diaz-Gonzalez
c1b6b7217e Upgrade image version to 3.2.1 2016-01-17 01:54:00 -05:00
Jose Diaz-Gonzalez
2aff7d8d0e Merge pull request #48 from ElliotChong/feature/docker-pull-instructions
Adding a note about pulling the mongo docker image for versions other than the default
2015-12-18 16:12:19 -05:00
Elliot Chong
8d3c11cd0f Adding a note about pulling the mongo docker image for versions other than the default 2015-12-18 12:51:57 -08:00
Elliot Chong
97b624ccbc Upgrading default MongoDB version to 3.2.0 2015-12-18 12:50:07 -08:00
Jose Diaz-Gonzalez
da4b355052 Document unlink command 2015-12-01 16:31:13 -05:00
Jose Diaz-Gonzalez
ab0f4f2fe3 Add support for custom environment variables when starting a service container 2015-11-05 01:29:10 -05:00
Jose Diaz-Gonzalez
b1f3673ecd Update README.md -> <file> arg for export command 2015-10-29 15:56:36 -04:00
Loïc Guitaut
f1d92b60c1 Update README about docker env var 2015-10-21 16:22:42 +02:00
Jose Diaz-Gonzalez
08c7165084 Document MONGO_CONFIG_OPTIONS for older versions of mongodb
Refs #25
Refs #29
2015-10-20 22:58:31 -04:00
Loïc Guitaut
5eed4378aa Revamp link/unlink commands
Previously we were exporting `MONGO_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 `MONGO_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 `MONGO_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_MONGO_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 18:11:25 +02:00
Jose Diaz-Gonzalez
0aad4e9c82 Update README.md
Add a note explaining how to examine the environment variables (through `dokku run my-app env` rather than `dokku config my-app`)
2015-09-24 12:05:55 -04:00
Jose Diaz-Gonzalez
5bd4f4f708 Update README.md 2015-09-22 12:08:30 -04:00
Jose Diaz-Gonzalez
975643861d Remove completed todos 2015-09-16 15:12:11 -07:00
Loïc Guitaut
31cefc9387 Use authentication when creating database 2015-09-15 22:38:19 +02:00
Jose Diaz-Gonzalez
a362278962 Fix MONGO_URL in readme 2015-09-15 02:05:40 -07:00
Jose Diaz-Gonzalez
2bc1257baf Mention that the plugin defaults to installing a version 2015-09-15 02:00:53 -07:00
Jose Diaz-Gonzalez
467495d994 $PLUGIN_SERVICE => mongo 2015-09-14 19:51:07 -04:00
Jose Diaz-Gonzalez
20a458cc45 Merge pull request #6 from Flink/lg-import-export-clone
Implement `export`, `import` and `clone` commands
2015-09-14 19:36:08 -04:00
Loïc Guitaut
0125d62529 Use latest stable release of MongoDB
3.0.6 is latest stable, 3.1.7 is a development version.
2015-09-14 23:32:54 +02:00
Loïc Guitaut
61f2afb099 Implement export, import and clone commands 2015-09-14 23:12:40 +02:00
Jose Diaz-Gonzalez
cc7ba55176 Add link to docker hub entry 2015-09-07 04:20:05 -04:00
Jose Diaz-Gonzalez
77f57c6d3a Update requirements
- dokku 0.4.0 does not yet exist, so this should dissuade people from installing this plugin.
- docker 1.8.x cannot be installed with the official dokku debian packages, so this means that for now users will need to install from source.
2015-09-07 04:13:58 -04:00
Jose Diaz-Gonzalez
07ead225cb Add badges 2015-09-07 01:15:28 -04:00
Jose Diaz-Gonzalez
0e06e6756a Properly implement port expose/unexpose 2015-09-06 21:56:13 -04:00
Jose Diaz-Gonzalez
dc1ab9489b Remove -plugin suffix from clone url 2015-08-25 14:04:55 -04:00
Jose Diaz-Gonzalez
4315cf74e9 Fix alternate image version 2015-08-23 22:17:49 -04:00
Jose Diaz-Gonzalez
7652f45d99 initial commit 2015-08-23 21:42:15 -04:00