docker-vagrantpress/compose-dev.yml
2015-12-16 21:29:43 +00:00

17 lines
No EOL
302 B
YAML

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