summaryrefslogtreecommitdiff
path: root/compose/tmodloader
diff options
context:
space:
mode:
Diffstat (limited to 'compose/tmodloader')
-rw-r--r--compose/tmodloader/docker-compose.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/compose/tmodloader/docker-compose.yaml b/compose/tmodloader/docker-compose.yaml
new file mode 100644
index 0000000..5d66d0f
--- /dev/null
+++ b/compose/tmodloader/docker-compose.yaml
@@ -0,0 +1,38 @@
+version: '3'
+services:
+ tmodloader:
+ restart: unless-stopped
+ #stdin_open: true
+ image: 'jacobsmile/tmodloader1.4:latest'
+ container_name: 'tmodloader'
+ ports:
+ - "7777:7777"
+ expose:
+ - "7777"
+ environment:
+ # Download mods.
+ - "TMOD_AUTODOWNLOAD=2669644269,2824688266,2824688072,2816694149,2669670918,2908170107,2563309347,2619954303,2909886416,3106201538"
+ # Enable mods.
+ - "TMOD_ENABLEDMODS=2669644269,2824688266,2824688072,2816694149,2669670918,2908170107,2563309347,2619954303,2909886416,3106201538"
+ # Shutdown Message and Autosave Interval (In Minutes)
+ - "TMOD_SHUTDOWN_MESSAGE=Goodbye!"
+ - "TMOD_AUTOSAVE_INTERVAL=15"
+ # Server Settings
+ - "TMOD_MOTD=NUH UH!!!"
+ - "TMOD_PASS=balls"
+ - "TMOD_MAXPLAYERS=8"
+ # The following world settings are only used when generating a new world.
+ - "TMOD_WORLDNAME=boner"
+ - "TMOD_WORLDSIZE=3"
+ - "TMOD_WORLDSEED=balls"
+ - "TMOD_DIFFICULTY=1"
+ - "TMOD_NPCSTREAM=30"
+ # (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"