summaryrefslogtreecommitdiff
path: root/docker-compose-main/tmodloader
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:17:45 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:17:45 -0700
commita33d49ac4d1ce554c72770927957a089b4023bf1 (patch)
tree17ea036b5a0e8b488dc236f0ce48a275ecd80ef8 /docker-compose-main/tmodloader
Diffstat (limited to 'docker-compose-main/tmodloader')
-rw-r--r--docker-compose-main/tmodloader/docker-compose.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/docker-compose-main/tmodloader/docker-compose.yaml b/docker-compose-main/tmodloader/docker-compose.yaml
new file mode 100644
index 0000000..aa7d2c5
--- /dev/null
+++ b/docker-compose-main/tmodloader/docker-compose.yaml
@@ -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"