From 3cf000a852d4c5dff4557adee4e7efbb41269618 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 5 Feb 2016 17:40:23 -0800 Subject: [PATCH] use named volume and fix env service names Signed-off-by: David Lawrence (github: endophage) --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 81c8caf68d..6930daf368 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ notaryserver: - notarymysql - notarysigner environment: - - SERVICE_NAME="notaryserver" + - SERVICE_NAME=notaryserver ports: - "8080" - "4443:4443" @@ -17,13 +17,13 @@ notarysigner: links: - notarymysql environment: - - SERVICE_NAME="notarysigner" + - SERVICE_NAME=notarysigner entrypoint: /bin/bash command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json" notarymysql: volumes: - ./notarymysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d - - ./notarymysql/data:/var/lib/mysql + - notarydata:/var/lib/mysql image: mariadb:10.1.10 ports: - "3306:3306"