Skip to content
🌳 Terraria Dedicated Server
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.gitattributes
Dockerfile
README.md
run.sh
serverconfig.txt
setup.sh

README.md

🌳 Terraria Dedicated Server

Upload Terraria server config and world file to an S3 Bucket:

Note the data/ directory

data/
β”œβ”€ serverconfig.txt
β”œβ”€ World.wld
└─ World.wld.bak

Install Docker REX-Ray S3FS plugin on Docker host:

docker plugin install rexray/s3fs \
  S3FS_ACCESSKEY=XXXXXX \
  S3FS_SECRETKEY=XXXXXX

Run container using existing S3 bucket:

docker run -it --name terraria \
  -p 7777:7777 \
  -v bucketname:/etc/terraria:rw \
  -v bucketname:/usr/terraria/worlds:rw \
  -v bucketname:/var/log/terraria:rw \
  fostertheweb/terraria
You can’t perform that action at this time.