Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- wordpress:
- image: visiblevc/wordpress:latest
- links:
- - db
- ports:
- - 8080:80
- - 443:443
- volumes:
- - ./data:/data # Required if importing an existing database
- environment:
- DB_HOST: db
- DB_NAME: wordpress
- DB_PASS: root # must match below
- WP_DEBUG: 'true'
- db:
- image: mysql:5.7 # or mariadb:10
- ports:
- - 3306:3306
- volumes:
- - data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: root
- phpmyadmin:
- image: phpmyadmin/phpmyadmin
- links:
- - db
- ports:
- - 8001:80
- volumes:
- data: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement