Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- mysql:
- image: mariadb
- volumes:
- - ./wp_db_data/:/var/lib/mysql
- ports:
- - "8081:3306"
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: wordpress
- #MYSQL_DATABASE: wordpress
- #MYSQL_USER: wordpress
- #MYSQL_PASSWORD: wordpress
- wordpress:
- depends_on:
- - mysql
- image: wordpress
- volumes:
- - ./wp_content/:/var/www/html/wp-content/
- restart: always
- ports:
- - "8080:80"
- links:
- - mysql:mysql
- environment:
- WORDPRESS_DB_PASSWORD: wordpress
- #WORDPRESS_DB_USER: wordpress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement