Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- environment:
- MYSQL_DATABASE: wordpress
- MYSQL_PASSWORD: wordpress
- MYSQL_ROOT_PASSWORD: wordpress
- MYSQL_USER: wordpress
- image: "mysql:5.7"
- restart: always
- volumes:
- - "./.data/db:/var/lib/mysql"
- wordpress:
- depends_on:
- - db
- environment:
- WORDPRESS_DB_HOST: localhost
- db: 3306
- WORDPRESS_DB_PASSWORD: wordpress
- image: "wordpress:latest"
- links:
- - "db"
- ports:
- - "8000:80"
- restart: always
Add Comment
Please, Sign In to add comment