Docker and docker-compose project for running a simple dedicated tModLoader server
Go to the directory where you want to install the server and execute either
git clone https://github.com/Paul1365972/terraria-tml-server.git
cd terraria-tml-server
docker-compose up -d
or
docker run --rm -itd \
--name=terraria-tml-server \
-p 7777:7777 \
-v "$(pwd)/logs/":"/root/.local/share/Terraria/ModLoader/Logs/" \
-v "$(pwd)/worlds/":"/tml-server/worlds/" \
-v "$(pwd)/mods/:/tml-server/mods/" \
-v "$(pwd)/config/:/tml-server/config/" \
-v "$(pwd)/mod-configs/:/root/.local/share/Terraria/ModLoader/Mod Configs/" \
paul1365972/terraria-tml-server