This guide will walk you through installing ArchiSteamFarm on your Synology NAS. While tailored for Synology users, the general steps are adaptable to other NAS platforms.
Before We Begin:
-
Set Up Custom DDNS: Go to this guide, follow the instructions, and return here.
-
Set Up Wildcard Certificate: Follow this guide until Step 7, then return here.
Installation Steps:
- Install Docker and Portainer: Visit this guide by Marius Bogdan Lixandru, which explains how to install both Docker and Portainer on Synology NAS.
- Prepare Reverse Proxy for ASF:
- Head over to this guide and follow the steps until Step 6.
- In the General section, set the Reverse Proxy Name to ArchiSteamFarm.
- Add the following under "Source":
- Protocol: HTTPS
- Hostname:
asf.yourname.synology.me
Replace "yourname" with whatever name you chose while setting up the DDNS.
- Port:
443
- Check Enable HSTS
- Under "Destination":
- Protocol: HTTP
- Hostname:
localhost
- Port:
1242
Expected Configuration:
-
Creating Folders: Now, return to this guide and follow the steps until Step 10. (Do not complete Step 10!) Instead of creating a folder named "archivebox," create a folder called
ASF
. Inside this folder, create three subfolders:plugins
logs
config
Folder Structure:
- Configure ASF on PC:
- Follow the wiki instructions on how to set up ASF on your PC. This is a one-time step for configuration purposes.
- Once configured and logged in with your Steam account, proceed to Step 5.
- Transfer Configuration Files:
- Open the
config
folder within the downloaded ASF directory on your PC. - Locate the previously created
config
folder on your NAS. - Drag and drop all files from the PC's
config
folder to the NAS'sconfig
folder.
- Open the
- Create and Configure IPC.config:
-
Open the text editor on your NAS.
-
Paste the following code:
{ "Kestrel": { "Endpoints": { "HTTP": { "Url": "http://*:1242" } } } }
-
Save the file as
IPC.config
within the/docker/ASF/config
folder on your NAS.
-
-
Deploy ASF using Portainer:
- Open Portainer and navigate to the settings.
- Nevigate to the App Templates section.
- In the URL Paste this:
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
- Save application settings and go to Templates > Application.
- Follow the screenshot bellow and click on the ArchiSteamFarm template.
- Find your UID and GID using this guide.
- Replace both PUID and PGID numbers in the template with the ones you recived from the email. (They are named UID and GID)
- Click on
Show advanced options
- Copy these lines and put them exactly like how i did it in the image below:
/volume1/docker/ASF/config
/volume1/docker/ASF/logs
/volume1/docker/ASF/plugins
- Scroll down and click "Deploy the container."
- Wait for a few minutes for deployment to complete. You should see something like a "Container successfully deployed" notification.
-
Access ASF:
- Optional Step: Container Management
Go to the Containers section in Portainer and search for a container with a name similar to
archisteamfarm
. If you want to rename it, click on the container name and press the Edit button. Rename the container as desired.
If you want the container to automatically restart after crashes or power outages, scroll to the bottom of the page, find the RESTART POLICIES in the "Container details" area, and set it to Unless Stopped
. Hit Update.
You’ve successfully set up ArchiSteamFarm on your SynologyNAS! 🥳
- Special thanks to Marius Bogdan Lixandru for creating the guides that inspired this tutorial. You can support his work here.
- Thanks to Portainer Templates for providing the template I used and modified.
- And of course, a little credit to me for writing this tutorial! 😉
Awesome stuff. Helped me significantly, especially after not using ASF for many years. Only issue I ran into was not changing the default ASF.json file, so ran into IPCPassword issues. It's not an error on your part, just my laziness. Cheers.