From d28611929c72e72a699fef4e4241851d0c3d8172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wi=C5=9Bniewski?= Date: Mon, 22 Jun 2026 00:03:17 +0200 Subject: [PATCH] Improve Docker compose example --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce7de6d..34c9bce 100644 --- a/README.md +++ b/README.md @@ -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 @@ -174,11 +172,11 @@ services: tty: true # docker run -t environment: - WORLD_FILENAME=world.wld - - CONFIGPATH=config.json ports: - 7777:7777 volumes: - - :/root/.local/share/Terraria/Worlds + - :/root/.local/share/Terraria/Worlds + - :/config/serverconfig.txt restart: unless-stopped ```