Sign inSign up

siverten/tshock

By siverten

•Updated almost 2 years ago

Tshock is a modded Terraria server that supports plugins.

Image
0

304

siverten/tshock repository overview

⁠Disclaimer

This image is automatically updated with a script.

So shoot me an email @ [email protected]⁠ if it starts crashing.

The scripts in the Dockerfile can be found @ my self hosted Gitea Server! (https://git.sivert.pw⁠)

⁠Example docker-compose.yml

version: '3.9'
services:
 tshock:
  image: siverten/tshock:latest
  ports:
  - 7777:7777
  volumes:
  - ./plugins:/plugins
  - ./config:/config
  - ./world:/world
  - ./logs:/logs
  command: "-world /world/*worldname*.wld -autocreate 1 -killinactivesocket -ignoreversion"

⁠Dockerfile

#FROM mono:slim
FROM frolvlad/alpine-mono:latest

ENV TSHOCK_VERSION=4.5.5
#RUN apt -y update && apt -y upgrade &&\
# apt install -y wget unzip
RUN apk update && apk upgrade &&\
 apk add curl

COPY ./start.sh /start
COPY ./install.sh /
RUN sh /install.sh
RUN rm /install.sh

VOLUME ["/world", "/config", "/logs", "/plugins"]
WORKDIR /tshock
EXPOSE 7777
ENTRYPOINT ["/start"]

Tag summary

Content type

Image

Digest

sha256:6cc85d673…

Size

127.7 MB

Last updated

almost 2 years ago

docker pull siverten/tshock