Added volume to mariadb in etherpad fixture

Volume constraint is missing in mariadb service
in etherpad example, so added that so that it mariadb container
does not fail in environments where creating container in
/var/lib/mysql is not allowed for non-root process.
This commit is contained in:
Suraj Deshmukh
2016-11-17 13:02:49 +05:30
parent 83c7a824dc
commit b99d5d9bbe
3 changed files with 256 additions and 188 deletions
+2
View File
@@ -10,6 +10,8 @@ services:
MYSQL_DATABASE: $DB_NAME
MYSQL_PASSWORD: $DB_PASS
MYSQL_USER: $DB_USER
volumes:
- /var/lib/mysql
etherpad:
image: centos/etherpad