kolla-ansible/compose/mariadb.yml
Steven Dake bbad173a0a Tell mariadb to restart
If a system is rebooted with kolla running, all the services will
continually restart.  There appears to be some locking problem in
docker which will result in docker imploding.  One problem is a
key dependency, mariadb, is never started on a reboot because it is
missing restart: always.  Also restart the mariadb data container
until it returns success.

Change-Id: I599d28548ff041712d54a702c80fe36c321adf7f
2015-03-28 08:50:23 -07:00

15 lines
270 B
YAML

mariadbdata:
image: kollaglue/centos-rdo-mariadb-data
name: mariadbdata
restart: on-failure
mariadbapp:
image: kollaglue/centos-rdo-mariadb-app
name: mariadbapp
restart: always
env_file:
- openstack.env
volumes_from:
- mariadbdata
net: "host"