forked from hexlo/terraria-tmodloader-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-example.yml
More file actions
26 lines (26 loc) · 959 Bytes
/
Copy pathdocker-compose-example.yml
File metadata and controls
26 lines (26 loc) · 959 Bytes
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
services:
tml:
container_name: tml
restart: unless-stopped
build:
context: .
args:
UID: 1000
GID: 1000
# TML_VERSION: v2023.8.3.3
# entrypoint: [ "/bin/bash" ] # Uncomment this line if you need to poke around in the container
tty: true
stdin_open: true
ports:
- 7785:7777
volumes:
- ./tModLoader:/home/tml/.local/share/Terraria/tModLoader
environment:
### Comment the variable 'WORLD' to create a new world (Using AUTOCREATE, WORLDNAME, DIFFICULTY and SEED)
### Uncomment the variable 'WORLD' to use an existing world. This will ebable the server to start with no user interaction through the cli.
# - WORLD=/home/tml/.local/share/Terraria/tModLoader/Worlds/tmlCalamity1.wld
- AUTOCREATE=1
- WORLDNAME=tmlCalamity1.wld
- DIFFICULTY=1
- PASSWORD=passworld
- MOTD="Welcome to my tModLoader Server :)"