Created
December 16, 2018 14:40
-
-
Save pablokbs/da8fb5c52d2268e1a65ae265849125e4 to your computer and use it in GitHub Desktop.
Docker-compose para wordpress con mysql
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
## docker-compose para correr wordpress con una base de datos en mysql | |
## by PeladoNerd https://youtu.be/eoFxMaeB9H4 | |
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress:php7.1-apache | |
ports: | |
- 8080:80 | |
environment: | |
WORDPRESS_DB_HOST: mysql | |
WORDPRESS_DB_USER: root | |
WORDPRESS_DB_PASSWORD: root | |
WORDPRESS_DB_NAME: wordpress | |
links: | |
- mysql:mysql | |
mysql: | |
image: mysql:8.0.13 | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_DATABASE: wordpress | |
MYSQL_ROOT_PASSWORD: root | |
volumes: | |
- ~/docker/mysql-data:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hola, soy nuevo suscriptor, agradezco tus vídeos, una consulta como busco el archivo ini.php no lo encuentro, adicional en el directorio donde correo el archivo debería crearse me /var/www/html/wp-content estas adicional pero no ocurre, simplemente se crean pero no puedo acceder a la información de ello, gracias si pudiera ayudarme.