4 Commits
Author SHA1 Message Date
aleleba 3488aa5217 Agregando la resolucion del reto clase 3 2022-10-10 22:19:59 -06:00
aleleba 90636a6e81 Agregando clase 3 2022-10-10 22:17:35 -06:00
aleleba 234f32894f Agregando la diapositiva faltante de clase 2 2022-10-10 22:11:18 -06:00
aleleba 5258ba0021 Clase 2 2022-10-10 22:05:48 -06:00
15 changed files with 70 additions and 1 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ docker build -t my-apache2 .
docker run -dit --name my-running-app -p 8080:80 my-apache2
```
![Diap6](../img/Agradecimiento.png)
![Diap7](../img/Agradecimiento.png)
+20
View File
@@ -0,0 +1,20 @@
# Clase 2
![Diap1](./img/Diap1.png)
![Diap2](./img/Diap2.png)
![Diap3](./img/Diap3.png)
![Diap4](./img/Diap4.png)
![Diap5](./img/Diap5.png)
![Diap6](./img/Diap6.png)
![Diap7](./img/Diap7.png)
![Diap8](./img/Diap8.png)
### Ejercicio:
Correr Comandos:
`docker network create --driver bridge mysql-net`
`docker run --name db --network mysql-net -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql`
`docker run --name phpmyadmin --network mysql-net -e PMA_HOST=db -e MYSQL_ROOT_PASSWORD=password -e PMA_PORT=3306 -d -p 8080:80 phpmyadmin/phpmyadmin`
![Diap9](../img/Agradecimiento.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

@@ -0,0 +1,28 @@
version: '3.3'
services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- my-db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
environment:
PMA_HOSTS: db
MYSQL_ROOT_PASSWORD: password
ports:
- '8080:80'
expose:
- '80'
depends_on:
- db
volumes:
my-db:
external: false #if true will try to find a folder that you set
@@ -0,0 +1,16 @@
version: '3.3'
services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- my-db:/var/lib/mysql
volumes:
my-db:
external: false #if true will try to find a folder that you set
+5
View File
@@ -0,0 +1,5 @@
# Clase 3
![Diap1](./img/Diap1.png)
![Diap2](./img/Diap2.png)
![Diap3](../img/Agradecimiento.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB