From d27a5f2c72acd56a1ce5e1d9d337353767219373 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Mon, 18 Jun 2018 18:42:40 +0000 Subject: [PATCH] Move blockbox DB volume to home directory Moved db_data directory to ~/.blockbox/db_data because it's owned by MySQL in the container so tox will failed with it during *.pyc files cleanup. Change-Id: Ib2c57d57193cd94108927bfd3a4bf944941976e9 --- contrib/block-box/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/block-box/docker-compose.yml b/contrib/block-box/docker-compose.yml index 6b21008aa4b..733bab061aa 100644 --- a/contrib/block-box/docker-compose.yml +++ b/contrib/block-box/docker-compose.yml @@ -19,7 +19,7 @@ services: cindernet: ipv4_address: 172.49.49.6 volumes: - - ./.db_data:/var/lib/mysql + - ~/.blockbox/db_data:/var/lib/mysql - ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d cinder-api: image: debian-cinder