add development docker compose file

This commit is contained in:
Up 2024-05-08 11:28:15 +02:00
parent 9cfb923708
commit 22cee19985
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388
2 changed files with 19 additions and 1 deletions

6
.gitignore vendored
View File

@ -1,9 +1,13 @@
# no extension on linux, .exe on windows
rogueserver*
userdata/*
!/rogueserver/*
/userdata/*
secret.key
# local testing
/.data/
# Jetbrains IDEs
/.idea/
*.iml

View File

@ -0,0 +1,14 @@
services:
db:
image: mariadb:11
container_name: pokerogue-db-local
restart: on-failure
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: pokeroguedb
MYSQL_USER: pokerogue
MYSQL_PASSWORD: pokerogue
ports:
- "3306:3306"
volumes:
- ./.data/db:/var/lib/mysql