add: added a database and a phpmyadmin page to the project
This commit is contained in:
commit
b1a685a06a
2 changed files with 24 additions and 0 deletions
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
services:
|
||||
mysql:
|
||||
image: mariadb:latest
|
||||
container_name: mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: IloveSachAwAmama69
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
ports:
|
||||
- "3306:3306"
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
container_name: phpmyadmin
|
||||
restart: always
|
||||
environment:
|
||||
- PMA_HOST=mysql
|
||||
- PMA_USER=root
|
||||
- PMA_PASSWORD=IloveSachAwAmama69
|
||||
ports:
|
||||
- "8080:80"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue