mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-03 03:27:13 +08:00
add development docker compose file
This commit is contained in:
parent
9cfb923708
commit
22cee19985
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,9 +1,13 @@
|
|||||||
|
|
||||||
# no extension on linux, .exe on windows
|
# no extension on linux, .exe on windows
|
||||||
rogueserver*
|
rogueserver*
|
||||||
userdata/*
|
!/rogueserver/*
|
||||||
|
/userdata/*
|
||||||
secret.key
|
secret.key
|
||||||
|
|
||||||
|
# local testing
|
||||||
|
/.data/
|
||||||
|
|
||||||
# Jetbrains IDEs
|
# Jetbrains IDEs
|
||||||
/.idea/
|
/.idea/
|
||||||
*.iml
|
*.iml
|
||||||
|
14
docker-compose.Development.yml
Normal file
14
docker-compose.Development.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user