Sign inSign up

didstopia/terraria

By didstopia

Updated 2 months ago

Terraria server with both vanilla and TShock support.

Image
0

100K+

didstopia/terraria repository overview

Terraria server that runs inside a Docker container

This Docker image runs a TShock Terraria server in a single, configurable image.

This project is partially based on ryansheehan's image.

Usage

Basic usage is as follows:

docker run \
  -p 0.0.0.0:7777:7777 \
  -p 0.0.0.0:7878:7878 \
  -e WORLD_FILENAME=docker.wld \
  -e TCR_DISCORD_ENABLED=true \
  -e TCR_DISCORD_BOT_TOKEN="<bot token>" \
  -e TCR_DISCORD_CHANNEL_IDS="<channel id>" \
  -e TCR_DISCORD_OWNER_ID="<owner id>" \
  -v $(pwd)/terraria_data/worlds:/tshock/worlds \
  -v $(pwd)/terraria_data/plugins:/plugins \
  -v $(pwd)/terraria_data/logs:/tshock/logs \
  $@ \
  --name terraria-server \
  -it \
  --rm \
  didstopia/terraria:latest

The Discord bridge is powered by TerrariaChatRelay and is entirely optional and disabled by default. Enable it by setting TCR_DISCORD_ENABLED=true and supplying a bot token plus one or more channel ids (TCR_DISCORD_CHANNEL_IDS accepts a comma-separated list). Further options can be tuned in the generated config under /tshock/worlds/TerrariaChatRelay/.

Issues

If you need help, have questions or bug submissions, feel free to contact me @Dids on Twitter, and on the Rust Server Owners Slack community.

Tag summary

Content type

Image

Digest

sha256:01a66a218

Size

183.6 MB

Last updated

2 months ago

docker pull didstopia/terraria