From 19ff343fe30e038f11f353a1101a58331415f8d2 Mon Sep 17 00:00:00 2001 From: liangke Date: Tue, 14 Aug 2018 10:52:50 +0800 Subject: Add redis cache to store share data It's fine to run single redis server on local host. Cache cluster should be planed in some situation if we need. Change-Id: I176445e6918b980368953c8626995c80a4e45c46 Issue-ID: MULTICLOUD-300 Signed-off-by: liangke --- vio/docker/Dockerfile | 3 ++- vio/docker/instance-run.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'vio/docker') diff --git a/vio/docker/Dockerfile b/vio/docker/Dockerfile index cf66f18..2e3f30d 100644 --- a/vio/docker/Dockerfile +++ b/vio/docker/Dockerfile @@ -15,7 +15,8 @@ EXPOSE 9004 RUN apt-get update && \ apt-get install -y unzip && \ apt-get install -y curl && \ - apt-get install -y wget + apt-get install -y wget && \ + apt-get install -y redis-server RUN cd /opt/ && \ diff --git a/vio/docker/instance-run.sh b/vio/docker/instance-run.sh index e5c6ec8..6ae160b 100755 --- a/vio/docker/instance-run.sh +++ b/vio/docker/instance-run.sh @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +service redis-server start + cd ./vio ./run.sh -- cgit 1.2.3-korg