docker-vagrantpress/docker-compose.yml

17 lines
310 B
YAML
Raw Normal View History

web:
image: wordpress
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