summaryrefslogtreecommitdiff
path: root/compose/tmodloader/docker-compose.yaml
blob: 5d66d0fc12c92bcd2b833ff67324e45bf2b2364e (plain)
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
35
36
37
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"