Loïc Guitaut
e183572bf0
Fix export when using ssh -t
2015-10-19 11:32:57 +02:00
Jose Diaz-Gonzalez
39dfec9edf
Merge pull request #31 from dokku/lg-list-in-columns
...
Display infos from `list` command in columns
2015-10-13 04:31:43 -04:00
Loïc Guitaut
8b3e78f5bd
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:24:05 +02:00
Jose Diaz-Gonzalez
472b4e1aea
Merge pull request #30 from dokku/lg-fix-destroy
...
Fix the `destroy` command
2015-10-12 14:09:27 -04:00
Loïc Guitaut
3609235d1b
Fix the destroy command
...
Checking for container with its service name instead of ID.
Doing a chmod 777 on `/data` before removing data from the service.
2015-10-12 10:58:12 +02:00
Jose Diaz-Gonzalez
60ee3c9b3d
Merge pull request #29 from dokku/jdg-mongo-2
...
Add configurable support for mongo 2 images
2015-10-11 15:55:38 -04:00
Jose Diaz-Gonzalez
cbd49a633f
Remove quotes on $MONGO_CONFIG_OPTIONS to allow for variable expansion
2015-10-11 02:39:18 -04:00
Jose Diaz-Gonzalez
277a5c08b3
Default to wiredTiger storage engine
2015-10-05 14:05:33 -04:00
Jose Diaz-Gonzalez
e5276c4118
Use MONGO_CONFIG_OPTIONS env var when running mongodb
2015-10-05 14:05:06 -04:00
Jose Diaz-Gonzalez
d4e05464e6
Add MONGO_CONFIG_OPTIONS env var
...
This will allow users to configure runtime options for mongodb
2015-10-05 14:04:27 -04:00
Jose Diaz-Gonzalez
35944a2325
Merge pull request #28 from dokku/lg-revamp-link-unlink
...
Revamp link/unlink commands
2015-10-05 13:55: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
ed8a2e6302
Merge pull request #26 from mak-it/volume
...
Fix /data/db volume mount point
2015-10-05 10:35:12 -04:00
Edgars Beigarts
7f7a156482
Fix /data/db volume mount point
2015-10-05 09:51:59 +03:00
Jose Diaz-Gonzalez
9038ffc684
Merge pull request #24 from dokku/josegonzalez-patch-1
...
Add mongo:help command
2015-09-27 17:27:05 -04:00
Jose Diaz-Gonzalez
75f5e9b65c
Add mongo:help command
2015-09-27 17:19:08 -04: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
4a771bd8d9
Merge pull request #23 from dokku/lg-fix-wait-image
...
Use our own image to wait for services
2015-09-24 11:48:41 -04:00
Loïc Guitaut
34fd421d4c
Use our own image to wait for services
2015-09-24 11:42:49 +02:00
Jose Diaz-Gonzalez
7905c134e5
Merge pull request #22 from dokku/josegonzalez-patch-1
...
Fix overlapping exported config
2015-09-23 15:08:23 -04:00
Jose Diaz-Gonzalez
7c5cefb7c7
Set MONGO_ROOT environment variable as well
...
Since PLUGIN_DATA_ROOT is not directly overrideable anymore, we need to *also* set this env var here.
2015-09-23 15:03:44 -04:00
Jose Diaz-Gonzalez
9e227852fb
Fix overlapping exported config
...
If using multiple official dokku datastorage plugins, it is possible to get into a case where the `PLUGIN_DATA_ROOT` would be set incorrectly for other plugins.
Refs dokku/dokku-redis#20
2015-09-23 14:37:53 -04:00
Jose Diaz-Gonzalez
5bd4f4f708
Update README.md
2015-09-22 12:08:30 -04:00
Jose Diaz-Gonzalez
358928263c
Merge pull request #21 from dokku/lg-fix-install
...
Fix wrong version check on docker wait image
2015-09-22 11:57:25 -04:00
Loïc Guitaut
4a8c584d6c
Fix wrong version check on docker wait image
2015-09-22 16:01:51 +02:00
Jose Diaz-Gonzalez
97bc990978
Merge pull request #19 from dokku/lg-check-images
...
Add checks for all docker images in install hook
2015-09-21 10:16:47 -04:00
Jose Diaz-Gonzalez
a9385fd68e
Merge pull request #17 from dokku/lg-docker-args-hooks
...
Use docker-args-* hooks instead of deprecated one
2015-09-21 10:16:37 -04:00
Jose Diaz-Gonzalez
eab5ec1b14
Merge pull request #18 from dokku/lg-tty-on-connect
...
Do not always allocate a tty on `connect`
2015-09-21 10:12:36 -04:00
Loïc Guitaut
b2a9bf7a45
Add checks for all docker images in install hook
2015-09-21 14:17:34 +02:00
Loïc Guitaut
22fa6bd92d
Do not always allocate a tty on connect
2015-09-21 10:12:55 +02:00
Loïc Guitaut
e1dba2babd
Use docker-args-* hooks instead of deprecated one
2015-09-21 09:47:45 +02:00
Jose Diaz-Gonzalez
b26a612a50
Merge pull request #16 from dokku/josegonzalez-patch-1
...
Remove completed todos
2015-09-16 15:19:14 -07:00
Jose Diaz-Gonzalez
975643861d
Remove completed todos
2015-09-16 15:12:11 -07:00
Jose Diaz-Gonzalez
9528db9c5d
Merge pull request #15 from dokku/lg-fix-for-0.4
...
Fix compatibility with dokku 0.4+
2015-09-16 14:52:01 -07:00
Jose Diaz-Gonzalez
898654fe91
Merge pull request #14 from dokku/lg-display-version-in-list
...
Display image & version in `list`
2015-09-16 14:50:22 -07:00
Loïc Guitaut
ed884da6f8
Fix compatibility with dokku 0.4+
2015-09-16 23:48:58 +02:00
Loïc Guitaut
8949686410
Display image & version in list
2015-09-16 17:42:26 +02:00
Jose Diaz-Gonzalez
8a116cec97
Merge pull request #12 from dokku/lg-use-auth
...
Use authentication when creating database
2015-09-15 14:07:51 -07:00
Loïc Guitaut
bd37ebe527
Add compatibility for tests with dokku 0.4+
2015-09-15 22:47:47 +02:00
Loïc Guitaut
31cefc9387
Use authentication when creating database
2015-09-15 22:38:19 +02:00
Jose Diaz-Gonzalez
2059c8356f
Merge pull request #11 from dokku/josegonzalez-patch-1
...
Fix MONGO_URL in readme
2015-09-15 02:22:53 -07:00
Jose Diaz-Gonzalez
a362278962
Fix MONGO_URL in readme
2015-09-15 02:05:40 -07:00
Jose Diaz-Gonzalez
9b1aff80b3
Merge pull request #10 from dokku/josegonzalez-patch-1
...
Mention that the plugin defaults to installing a version
2015-09-15 02:02: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
c83d8482ea
Merge pull request #9 from dokku/lg-database-in-url
...
Add database name in DSN
2015-09-15 01:59:56 -07:00
Loïc Guitaut
c982923233
Add database name in DSN
2015-09-15 10:52:54 +02:00
Jose Diaz-Gonzalez
0665e5b6d0
Merge pull request #8 from dokku/josegonzalez-patch-1
...
$PLUGIN_SERVICE => mongo
2015-09-14 20:00:55 -04: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
Jose Diaz-Gonzalez
a17e1902ec
Merge pull request #7 from Flink/lg-use-stable-version
...
Use latest stable release of MongoDB
2015-09-14 19:36:01 -04:00