From 905571ce84100c5c53c2eae26400ba5ebc3b8845 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Mon, 24 Mar 2014 14:15:29 -0700 Subject: [PATCH] added documentation to README for custom services --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 21061b99..3aa158c6 100644 --- a/README.md +++ b/README.md @@ -269,11 +269,22 @@ services: If you omit the version, Drone will launch the latest version of the database. (For example, if you set `mongodb`, Drone will launch MongoDB 2.4.) -**NOTE:** database and service containers are exposed over TCP connections and +You can also launch custom Docker containers using standard docker notation: + +```sh +services: + - dockerfile/rethinkdb # same as dockerfile/rethinkdb:latest + - barnybug/elasticsearch:1.0.1 +``` + +**NOTE 1:** database and service containers are exposed over TCP connections and have their own local IP address. If the **socat** utility is installed inside your Docker image, Drone will automatically proxy localhost connections to the correct IP address. +**NOTE 2:** avoid running services that use the same ports. For example, don't specify +multiple versions of Elastic Search since the port will already be in use. + ### Caching Drone can persist directories between builds. This should be used for caching dependencies to