Fix for mariadb local path

When running docker-compose with mariadb the following message will appear:

ERROR: for mariadb  Cannot create container for service mariadb: Invalid volume spec "mariadb": Invalid volume destination path: 'mariadb' mount path must be absolute.
ERROR: Encountered errors while bringing up the project.

This commit fixes the issue.
This commit is contained in:
darthrevan13 2016-11-03 15:45:59 +02:00 committed by GitHub
parent a0153810c6
commit 3d54d68aa1
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ services:
mariadb:
build: ./mariadb
volumes:
- mariadb
- mysql:/var/lib/mysql
ports:
- "3306:3306"
environment: