~busykoala/wp_container_template

5592ee57f835eb46512bbdaf647b0381c818ac0b — Matthias Osswald 1 year, 4 months ago b46ca41 master
Use same dir for wp data.
2 files changed, 2 insertions(+), 1 deletions(-)

M .gitignore
M docker-compose.yml
M .gitignore => .gitignore +1 -0
@@ 1,2 1,3 @@
.env
/wordpress-files/
/wordpress-data/

M docker-compose.yml => docker-compose.yml +1 -1
@@ 10,7 10,7 @@ services:
  db:
    image: mysql:5.7
    volumes:
      - wp-data:/var/lib/mysql
      - ./wordpress-data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=${DB_ROOT_PW}
      - MYSQL_DATABASE=wordpress