Commit 18793981 authored by Alessandro's avatar Alessandro
Browse files

Update docker-compose.yml

parent 4fc4ed5b
......@@ -4,7 +4,7 @@ services:
db:
image: mysql:5.7
volumes:
- ${COMPOSE_PROJECT_NAME}:/var/lib/mysql
- /var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_DATABASE_PASSWORD}
......@@ -20,6 +20,4 @@ services:
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
${COMPOSE_PROJECT_NAME}:
\ No newline at end of file
WORDPRESS_DB_PASSWORD: wordpress
\ 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