Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- wordpress:
- image: wordpress
- ports:
- - 8080:80
- environment:
- WORDPRESS_DB_NAME: my_wp
- WORDPRESS_DB_USER: my_user
- WORDPRESS_DB_PASSWORD: my_pass
- volumes:
- - ./src:/var/www/html
- mysql:
- image: mariadb
- environment:
- MYSQL_ROOT_PASSWORD: my_pass
- volumes:
- - ./db:/etc/mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement