From e165b2e2d50f8941c753d08e1e0c287f1523d5a0 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 25 May 2016 11:12:18 +0800 Subject: [PATCH] [ci skip] update docker compose testing file Signed-off-by: Bo-Yi Wu --- docker/docker-compose.testing.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/docker/docker-compose.testing.yml b/docker/docker-compose.testing.yml index 2ece6fe..54e6e3d 100644 --- a/docker/docker-compose.testing.yml +++ b/docker/docker-compose.testing.yml @@ -1,15 +1,18 @@ -gorush: - build: ./golang - links: - - redis - privileged: true - environment: - - ANDROID_API_KEY - - ANDROID_TEST_TOKEN - volumes: - - ../:/app - command: /bin/sh -c './docker/testing.sh' +version: "2" -redis: - build: ./redis - privileged: true +services: + gorush: + build: ./golang + links: + - redis + privileged: true + environment: + - ANDROID_API_KEY + - ANDROID_TEST_TOKEN + volumes: + - ../:/app + command: /bin/sh -c './docker/testing.sh' + + redis: + build: ./redis + privileged: true