mirror of
https://github.com/aleleba/curso-basico-kubernetes.git
synced 2025-07-04 12:58:12 -06:00
Compare commits
2 Commits
clase-2
...
clase-3-re
Author | SHA1 | Date | |
---|---|---|---|
3488aa5217 | |||
90636a6e81 |
28
Clase 3/Ejercicio/mysql-phpmyadmin/docker-compose.yaml
Normal file
28
Clase 3/Ejercicio/mysql-phpmyadmin/docker-compose.yaml
Normal file
@ -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
|
16
Clase 3/Ejercicio/mysql/docker-compose.yaml
Normal file
16
Clase 3/Ejercicio/mysql/docker-compose.yaml
Normal file
@ -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
Clase 3/README.md
Normal file
5
Clase 3/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Clase 3
|
||||

|
||||

|
||||
|
||||

|
BIN
Clase 3/img/Diap1.png
Normal file
BIN
Clase 3/img/Diap1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 438 KiB |
BIN
Clase 3/img/Diap2.png
Normal file
BIN
Clase 3/img/Diap2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Reference in New Issue
Block a user