Terraria – Dedicated Server / Docker Container

Terraria – Dedicated Server / Docker Container 1 - steamlists.com
Terraria – Dedicated Server / Docker Container 1 - steamlists.com

A quick guide to a Docker powered dedicated server for Terraria
 
 

Preparations

Docker Engine
 

  • Make shure Docker is installed

 
Port Forwardings
 
You need some port forwardings on your fire wall. The default ports are:
 

  • 27300/TCP

 
Persist Data
 
Create a directory for Steam, for the binaries and for the save game:
 

  • mkdir -p $HOME/terraria/world

 
Mod Control
 
Download Config File – [github.com]  or creat your own. Edit the mod config file, then copy it on the docker host to:
 
$HOME/terraria/terrariaserverconfig.txt
 
 
 

Run Container

docker run –name terraria -it –rm -e PORTGAME=27300 -p 27300:27300/tcp -v $HOME/terraria/terrariaserverconfig.txt:/terraria/terrariaserverconfig.txt -v $HOME/terraria/world:/.local/share/Terraria/Worlds dockrbyter/terraria
 
 
 

Settings

Environment Variables (and their defaults)
 

  • PORTGAME=27300

 
Locations
 

  • Config Files: ~/terraria
  • Save Games: ~/terraria/world
  • Config File: ~/terraria/terrariaserverconfig.txt

 
 
 

Links

 
 

Written by Zünda

 
 
This is all about Terraria – Dedicated Server / Docker Container; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
 
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*