From bc5c508bc248fe0df483a8f3d2e5b8531cdcaa44 Mon Sep 17 00:00:00 2001 From: yosssi Date: Fri, 14 Feb 2014 09:37:43 +0000 Subject: [PATCH] Updated README.md to show all services. Update pkg/build/images.go to use the latest version of CouchDB if `couchdb` was set to `services`. --- README.md | 13 +++++++++++++ pkg/build/images.go | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cd01a541..5960af4a5 100644 --- a/README.md +++ b/README.md @@ -152,17 +152,30 @@ Drone can launch database containers for your build: services: - cassandra - couchdb + - couchdb:1.0 + - couchdb:1.4 + - couchdb:1.5 - elasticsearch + - elasticsearch:0.20 + - elasticsearch:0.90 - neo4j + - neo4j:1.9 - mongodb + - mongodb:2.2 + - mongodb:2.4 - mysql + - mysql:5.5 - postgres + - postgres:9.1 - rabbitmq + - rabbitmq:3.2 - redis - riak - zookeeper ``` +If you omit the version, Drone will launch the latest version of the database. (For example, if you set `mongodb`, Drone wil launch MongoDB 2.4.) + **NOTE:** 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 diff --git a/pkg/build/images.go b/pkg/build/images.go index d887ee367..5c09820b1 100644 --- a/pkg/build/images.go +++ b/pkg/build/images.go @@ -116,7 +116,7 @@ var services = map[string]*image{ // couchdb "couchdb": { Ports: []string{"5984"}, - Tag: "bradrydzewski/couchdb:1.0", + Tag: "bradrydzewski/couchdb:1.5", Name: "couchdb", }, "couchdb:1.0": {