Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.4'
- services:
- wordpress:
- image: arm32v7/wordpress
- ports:
- - 80:80
- environment:
- WORDPRESS_DB_PASSWORD: wordpress
- WORDPRESS_DB_HOST: mysql:3306
- WORDPRESS_DB_USER: wordpress
- mysql:
- image: hypriot/rpi-mysql:5.5
- volumes:
- - db_data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: password
- MYSQL_DATABASE: wordpress
- MYSQL_USER: wordpress
- MYSQL_PASSWORD: wordpress
- volumes:
- db_data:
- driver: local
- driver_opt:
- type: "nfs"
- o: "addr=nfs.r0b.cc,rw"
- device: ":/nfs/3fatmen/mysql_wordpress"
Add Comment
Please, Sign In to add comment