Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- wordpress:
- image: wordpress
- restart: always
- ports:
- - 8080:80
- links:
- - mysql
- environment:
- WORDPRESS_DB_HOST: mysql
- WORDPRESS_DB_USER: root
- WORDPRESS_DB_PASSWORD: examplepassword
- volumes:
- - ./theme:/var/www/html/wp-content/themes/new_theme
- mysql:
- image: mysql:5.7
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: examplepassword
- MYSQL_DATABASE: wordpress
Add Comment
Please, Sign In to add comment