web: build: . links: - mysql environment: - WORDPRESS_DB_PASSWORD=password ports: - 80:80 working_dir: /var/www/html volumes: - /vagrant/src/:/var/www/html/wp-content mysql: image: mysql:5.7 environment: - MYSQL_ROOT_PASSWORD=password - MYSQL_DATABASE=wordpress volumes: - /vagrant/data/:/docker-entrypoint-initdb.d - /vagrant/scripts/:/scripts