divi:divi-docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| divi:divi-docker [2020/03/18 16:59] – jose | divi:divi-docker [2020/03/21 15:53] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Crear docker-compose.yml y cambiar puerto de 8080 por 8081, 8082 para sucesivas instancias | Crear docker-compose.yml y cambiar puerto de 8080 por 8081, 8082 para sucesivas instancias | ||
| < | < | ||
| - | version: '3.1' | + | version: '3.3' |
| services: | services: | ||
| + | db: | ||
| + | | ||
| + | | ||
| + | - ' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| - | | + | wordpress: |
| - | image: wordpress | + | depends_on: |
| - | restart: always | + | - db |
| - | ports: | + | image: wordpress:latest |
| - | - 8080:80 | + | |
| - | | + | |
| - | | + | restart: always |
| - | WORDPRESS_DB_USER: | + | |
| - | WORDPRESS_DB_PASSWORD: | + | |
| - | WORDPRESS_DB_NAME: | + | |
| - | | + | WORDPRESS_DB_HOST: db:3306 |
| - | - wordpress:/ | + | WORDPRESS_DB_USER: wordpress |
| - | + | WORDPRESS_DB_PASSWORD: wordpress | |
| - | db: | + | WORDPRESS_DB_NAME: wordpress |
| - | image: mysql:5.7 | + | |
| - | restart: always | + | |
| - | | + | |
| - | | + | |
| - | MYSQL_USER: exampleuser | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | - db:/ | + | |
| volumes: | volumes: | ||
| - | wordpress: | + | db_data: {} |
| - | db: | + | |
| </ | </ | ||
| Line 56: | Line 55: | ||
| </ | </ | ||
| - | ruth@docker: | + | Copiamos el tema de Divi |
| + | | ||
| + | ====== BBDD ====== | ||
| + | < | ||
| + | ruth@docker: | ||
| + | root@1d78631f74d4:/# | ||
| + | Enter password: | ||
| + | Welcome to the MySQL monitor. | ||
| + | Your MySQL connection id is 12337 | ||
| + | Server version: 5.7.29 MySQL Community Server (GPL) | ||
| + | |||
| + | Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. | ||
| + | |||
| + | Oracle is a registered trademark of Oracle Corporation and/or its | ||
| + | affiliates. Other names may be trademarks of their respective | ||
| + | owners. | ||
| + | |||
| + | Type ' | ||
| + | |||
| + | mysql> | ||
| + | </ | ||
divi/divi-docker.1584550740.txt.gz · Last modified: by jose
