forked from JACOBSMILE/tmodloader1.4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
34 lines (33 loc) · 1.39 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3'
services:
tmodloader:
image: 'jacobsmile/tmodloader1.4'
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=Welcome to my tModLoader Server!"
- "TMOD_PASS=secret"
- "TMOD_MAXPLAYERS=16"
# 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"
volumes:
- "/path/to/worlds/file:/home/terraria/.local/share/Terraria/tModLoader/Worlds"
- "/path/to/workshop/folder:/home/terraria/terraria-server/workshop-mods"
# Uncomment the below line if you plan to use a mapped config file.
# - "/path/to/config/config.txt:/root/terraria-server/serverconfig.txt"