From f228d736817fb4763b590f739f8c969f1d059df0 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sun, 25 Jan 2026 15:22:31 +0000 Subject: [PATCH] add tshock service --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ef37901..a1faa7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ networks: iris: eva: drexa: + tshock_0: services: 7am: @@ -306,3 +307,27 @@ services: restart: unless-stopped ports: - 8083:80 + + tshock_0: + environment: + HOME: /data + DOTNET_BUNDLE_EXTRACT_BASE_DIR: /tmp/.dotnet-bundle + user: "1000:1000" + image: cr.nym.sh/kennethnym/tshock:5.2.4 + container_name: tshock_0 + restart: unless-stopped + volumes: + - "./tshock-data/the-dumb-center/:/tshock" + - "./tshock-data/the-dumb-center/:/data" + - "./terraria-worlds:/worlds" + - "./tshock-plugins:/plugins" + - "/etc/localtime:/etc/localtime:ro" + - "./terraria-worlds:/data/.local/share/Terraria/Worlds" + ports: + - "7777:7777" + - "7878:7878" # can be removed if you don't use the REST service + command: ["-worldpath", "/worlds", "-world", "/worlds/The_Dumb_Center.wld"] + networks: + - tshock_0 + tty: true + stdin_open: true