Skip to content

Instantly share code, notes, and snippets.

@nilovelez
Last active June 13, 2022 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nilovelez/ea100591a2cb626235bee6c5f191fd58 to your computer and use it in GitHub Desktop.
Save nilovelez/ea100591a2cb626235bee6c5f191fd58 to your computer and use it in GitHub Desktop.
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