Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick start guide for Synology NAS #123

Open
ackvf opened this issue Sep 28, 2022 · 2 comments
Open

Quick start guide for Synology NAS #123

ackvf opened this issue Sep 28, 2022 · 2 comments

Comments

@ackvf
Copy link

ackvf commented Sep 28, 2022

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
Copy link
Author

ackvf commented Sep 29, 2022

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
Copy link
Author

ackvf commented Oct 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant