Skip to content

Commit e0c02ed

Browse files
author
Luiz Filipy
committed
💾 Adicionado MySQL & PHPMyAdmin 🔧
1 parent 36fa4c3 commit e0c02ed

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

MySQL & PHPMyAdmin/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Docker-Compose :whale:
2+
3+
> É necessário instalar [docker-compose](https://docs.docker.com/compose/install/)
4+
5+
Para executar: ```docker-compose up -d```

MySQL & PHPMyAdmin/docker-compose.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: '3'
2+
services:
3+
4+
db:
5+
image: mysql:8.0.12
6+
command: --default-authentication-plugin=mysql_native_password
7+
environment:
8+
MYSQL_ROOT_PASSWORD: root
9+
restart: always
10+
ports:
11+
- "3306:3306"
12+
13+
phpmyadmin:
14+
image: phpmyadmin/phpmyadmin:latest
15+
container_name: 'phpmyadmin'
16+
17+
environment:
18+
PMA_HOST: db
19+
PMA_PORT: 3306
20+
MYSQL_ROOT_PASSWORD: root
21+
MYSQL_USER: root
22+
MYSQL_PASSWORD: root
23+
24+
ports:
25+
- '8050:80'
26+
volumes:
27+
- /sessions

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
# Criação e Execução da imagem
6-
#### GoLang, Python3, NodeJS
6+
#### GoLang:latest, Python:3, NodeJS:latest, MySQL:8.012 & PHPMyAdmin:latest
77
> Para executar o teste execute os comandos abaixo dentro da pasta de determinada linguagem
88
99
1. Criar a imagem ```docker build -t luizfilipy/app .```

0 commit comments

Comments
 (0)