From 5547b5fe786b7491d2e33f92c4082535f2bb56cf Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Wed, 25 Feb 2015 05:49:40 +0000 Subject: Implements: blueprint Implement a database container set Previously, the database container was configured for use with Kubernetes. This patch removed any k8s dependencies, adds a script to manage mysql server.cnf settings and splits data and app containers. Splitting the containers provides additional portability and operational efficiencies compared to host mounts. Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2 --- compose/mariadb.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 compose/mariadb.yml (limited to 'compose') diff --git a/compose/mariadb.yml b/compose/mariadb.yml new file mode 100644 index 000000000..d93c7b26c --- /dev/null +++ b/compose/mariadb.yml @@ -0,0 +1,14 @@ +mariadbdata: + image: kollaglue/centos-rdo-mariadb-data + volumes: + - /var/lib/mysql:/var/lib/mysql + net: "host" + privileged: true +mariadbapp: + image: kollaglue/centos-rdo-mariadb-app + env_file: + - openstack.env + volumes_from: + - mariadbdata + net: "host" + privileged: true -- cgit v1.2.3