diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
| commit | 3813621611945a0be23384c0c4d395b4c4a614ad (patch) | |
| tree | 1812fd440839272e7dd16f5635e180769a66f5f1 /docker-compose-main/tmodloader | |
Diffstat (limited to 'docker-compose-main/tmodloader')
| -rw-r--r-- | docker-compose-main/tmodloader/docker-compose.yaml | 37 |
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" |
