Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ The stdin_open and tty options are a workaround to running the container in deta
(Note for Podman users: Ensure to add the :Z flag to the volume to give the container access to the volume.)

```yaml

version: "3"
services:
terraria:
container_name: terraria
Expand All @@ -174,11 +172,11 @@ services:
tty: true # docker run -t
environment:
- WORLD_FILENAME=world.wld
- CONFIGPATH=config.json
ports:
- 7777:7777
volumes:
- <world-dir-location>:/root/.local/share/Terraria/Worlds
- <path-to-world-dir>:/root/.local/share/Terraria/Worlds
- <path-to-serverconfig.txt>:/config/serverconfig.txt
restart: unless-stopped

```
Expand Down