Skip to content

Docker file to build and/or run TShock with Terracord in a container.

License

Notifications You must be signed in to change notification settings

TerraTrapezium/terracord-tshock-docker

 
 

Repository files navigation

Terraria server that runs inside a Docker container

This Docker image combines TShock and Terracord 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 TERRACORD_ENABLED=true \
  -e TERRACORD_BOT_TOKEN="<bot token>" \
  -e TERRACORD_CHANNEL_ID="<channel id>" \
  -e TERRACORD_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

Note that the Terracord integration is entirely option and disabled by default.

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.

About

Docker file to build and/or run TShock with Terracord in a container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 56.9%
  • Dockerfile 43.1%