Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fichero de docker-compose para entorno de WordPress en Raspberry Pi
version: '2'
services:
wordpress:
image: arm32v7/wordpress
restart: always
ports:
- 80:80
environment:
WORDPRESS_DB_PASSWORD: password
volumes:
- ./html:/var/www/html
mysql:
image: hypriot/rpi-mysql
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- ./wpdb:/var/lib/mysql/wordpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment