mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 06:01:25 +00:00
integration test
This commit is contained in:
parent
33bec6aa55
commit
6198823793
2 changed files with 11 additions and 0 deletions
4
test/minetest.conf
Normal file
4
test/minetest.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
secure.http_mods = mail
|
||||
webmail.url = http://127.0.0.1:8080
|
||||
webmail.key = myserverkey
|
||||
webmail.disallow_banned_players = true
|
7
test/start.sh
Executable file
7
test/start.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
docker run --rm -it \
|
||||
-v $(pwd)/minetest.conf:/etc/minetest/minetest.conf \
|
||||
-v /tmp/mt:/var/lib/minetest/.minetest \
|
||||
-v $(pwd)/../:/var/lib/minetest/.minetest/worlds/world/worldmods/mail_mod \
|
||||
registry.gitlab.com/minetest/minetest/server:5.0.1
|
Loading…
Add table
Reference in a new issue