diff options
| author | Daneyon Hansen <danehans@cisco.com> | 2015-02-25 05:49:40 +0000 |
|---|---|---|
| committer | Daneyon Hansen <danehans@cisco.com> | 2015-03-20 16:17:51 +0000 |
| commit | 5547b5fe786b7491d2e33f92c4082535f2bb56cf (patch) | |
| tree | c90551eafcd645f37de33e051913b91f5a126026 /compose | |
| parent | fb425db56db16ec4ac061a2ee49054eed4fc284a (diff) | |
| download | kolla-5547b5fe786b7491d2e33f92c4082535f2bb56cf.tar.gz kolla-5547b5fe786b7491d2e33f92c4082535f2bb56cf.zip | |
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
Diffstat (limited to 'compose')
| -rw-r--r-- | compose/mariadb.yml | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
