Skip to content

Commit 3d54d68

Browse files
authored
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.
1 parent a015381 commit 3d54d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ services:
128128
mariadb:
129129
build: ./mariadb
130130
volumes:
131-
- mariadb
131+
- mysql:/var/lib/mysql
132132
ports:
133133
- "3306:3306"
134134
environment:

0 commit comments

Comments
 (0)