Commit 2f1c65c1 authored by alain's avatar alain 🐙
Browse files

db as mount

parent bfa1325c
......@@ -2,7 +2,9 @@
.env
db/*
wp-config.php
wp-content/cache/*
wp-content/uploads/*
\ No newline at end of file
wp-content/uploads/*
......@@ -5,7 +5,7 @@ services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
- ./db:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
......@@ -44,5 +44,3 @@ services:
- wpsite
networks:
wpsite:
volumes:
db_data:
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment