add tshock service

This commit is contained in:
2026-01-25 15:22:31 +00:00
parent 898932304c
commit f228d73681

View File

@@ -10,6 +10,7 @@ networks:
iris: iris:
eva: eva:
drexa: drexa:
tshock_0:
services: services:
7am: 7am:
@@ -306,3 +307,27 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- 8083:80 - 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