terraria icon indicating copy to clipboard operation
terraria copied to clipboard

Quick start guide for Synology NAS

Open ackvf opened this issue 3 years ago • 2 comments

Hey guys, this is how I do it without access to terminal on a Synology NAS! Feel free to use it or link to this issue.

1. Add Image

  • Run Docker and search for ryshe/terraria
  • Choose vanilla-latest

1-add-image

2. Create Container

  • Go to Image and double click ryshe/terraria
  • Choose your container name
  • Open [Advanced Settings]

2-create-container

3. Advanced Settings

  • Enable auto-restart
  • Create shortcut on desktop

3-advanced-settings

4. Advanced Settings - Volume

  • Create new folder for Terraria and each world under docker folder. *TIP: Add it to Favorites with the star in addressbar.
  • Drag & Drop your existing world to the folder.
  • Press [Add Folder] and pick the folder from the list.
  • Adjust Mount path to /config

4-volume

5. Advanced Settings - Port

  • Choose your own external port

5-port

6. Advanced Settings - Environment

  • Adjust WORLDPATH to /config
  • Adjust WORLD_FILENAME to world.wld

6-environment

7. Turn On Container

7-container-turn-on

8. Check Container status in Terminal

8-container-terminal

9. Shut down container

  • type in exit. Don't shut down container using the button as in step 7) as this won't save the world. Although, there are plenty of backups, so don't worry too much.

9-container-turn-off

ackvf avatar Sep 28 '22 23:09 ackvf

This should be generally applicable to any Docker GUI app. I tried the same on Docker for Windows and it was more or less the same.

ackvf avatar Sep 29 '22 14:09 ackvf

Hey guys, I made my own dockerized solution. Thanks for the inspiration!

https://hub.docker.com/r/ackvf/terraria https://github.com/ackvf/terraria

Advantage of my solution is that you never need to pull new image and recreate containers. Everything is controlled by ENV variables.

ackvf avatar Oct 23 '22 19:10 ackvf