Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- wordpress:
- image: wordpress:4.7.3-php5.6-apache
- container_name: sandbox-wordpress
- volumes:
- - ./:/var/www/html
- ports:
- - 8080:80
- environment:
- WORDPRESS_DB_HOST: database
- WORDPRESS_DB_NAME: sandbox
- WORDPRESS_DB_USER: sandbox
- WORDPRESS_DB_PASSWORD: sandbox
- database:
- image: mariadb:10.1.22
- container_name: sandbox-database
- expose:
- - 3306
- environment:
- MYSQL_USER: sandbox
- MYSQL_PASSWORD: sandbox
- MYSQL_DATABASE: sandbox
- MYSQL_ROOT_PASSWORD: sandbox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement