Skip to content

Instantly share code, notes, and snippets.

@robertefreeman
Last active April 20, 2018 21:47
Show Gist options
  • Save robertefreeman/81b762d8c7002f9b83db98910485e7d9 to your computer and use it in GitHub Desktop.
Save robertefreeman/81b762d8c7002f9b83db98910485e7d9 to your computer and use it in GitHub Desktop.
Wordpress on arm compose file
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment