add docker file for mariadb

This commit is contained in:
vinchent 2024-08-02 18:20:00 +02:00
parent 2e2f1d6a0e
commit 3e6b5d6e25
2 changed files with 13 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
**/c.out **/c.out
**/c.html **/c.html
database.yml database.yml
postgres/docker-compose.yml docker/docker-compose.yml

View File

@ -0,0 +1,12 @@
services:
db:
image: mariadb
restart: always
environment:
MARIADB_ROOT_PASSWORD: example
adminer:
image: adminer
restart: always
ports:
- 8082:8080