Last active
June 13, 2022 17:59
-
-
Save nilovelez/ea100591a2cb626235bee6c5f191fd58 to your computer and use it in GitHub Desktop.
Fichero de docker-compose para entorno de WordPress en Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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