diff --git a/.gitignore b/.gitignore index d61e22d..003f051 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,13 @@ # no extension on linux, .exe on windows rogueserver* -userdata/* +!/rogueserver/* +/userdata/* secret.key +# local testing +/.data/ + # Jetbrains IDEs /.idea/ *.iml diff --git a/docker-compose.Development.yml b/docker-compose.Development.yml new file mode 100644 index 0000000..84fd1d8 --- /dev/null +++ b/docker-compose.Development.yml @@ -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