terraria
terraria copied to clipboard
Quick start guide for Synology NAS
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

2. Create Container
- Go to Image and double click
ryshe/terraria - Choose your container name
- Open [Advanced Settings]

3. Advanced Settings
- Enable auto-restart
- Create shortcut on desktop

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

5. Advanced Settings - Port
- Choose your own external port

6. Advanced Settings - Environment
- Adjust
WORLDPATHto/config - Adjust
WORLD_FILENAMEtoworld.wld

7. Turn On Container

8. Check Container status in 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.

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.
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.