commit b1a685a06ab115210c8386d511da89be52a2f318 Author: Lukian Date: Thu Apr 24 11:12:20 2025 +0200 add: added a database and a phpmyadmin page to the project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..adbb97d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1445135 --- /dev/null +++ b/docker-compose.yml @@ -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" +