This commit is contained in:
2026-03-18 00:46:30 -07:00
commit 56b1607ec5
316 changed files with 266132 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
version: '3'
services:
tmodloader:
stdin_open: true
tty: true
image: 'jacobsmile/tmodloader1.4:latest'
container_name: 'tmodloader'
ports:
- "7777:7777"
expose:
- "7777"
environment:
# Download the Calamity mod and CalamityMusic mod.
- "TMOD_AUTODOWNLOAD=2824688072,2824688266"
# Enable the Calamity mod and CalamityMusic mod.
- "TMOD_ENABLEDMODS=2824688072,2824688266"
# Shutdown Message and Autosave Interval (In Minutes)
- "TMOD_SHUTDOWN_MESSAGE=Goodbye!"
- "TMOD_AUTOSAVE_INTERVAL=15"
# Server Settings
- "TMOD_MOTD=containerized tmodloader server using docker-compose"
- "TMOD_PASS=butt"
- "TMOD_MAXPLAYERS=8"
# The following world settings are only used when generating a new world.
- "TMOD_WORLDNAME=Earth"
- "TMOD_WORLDSIZE=2"
- "TMOD_WORLDSEED=not the bees!"
- "TMOD_DIFFICULTY=3"
# (Deprecated) If TMOD_USECONFIGFILE is set to "Yes", it is expected to have a serverconfig.txt mapped. The Server Settings above will be ignored.
- "TMOD_USECONFIGFILE=No"
- "UPDATE_NOTICE=false"
volumes:
#### By default, the below setting will create a data directory on your host where this compose file lives.
- "./server:/data"
# Uncomment the below line if you plan to use a mapped config file.
# - "/path/to/config/config.txt:/root/terraria-server/serverconfig.txt"