GRUPA STEAM
Archi's SC Farm Archi-ASF
GRUPA STEAM
Archi's SC Farm Archi-ASF
49,423
W GRZE
374,779
ONLINE
Założona
29 października 2015
Język
Angielski
Ten wątek został zamknięty
Unraid OS - Docker
Anyone using ASF docker image with Unraid OS?
Just wonder how to set it up correctly...
I was able to install the docker and it seems to run but I don't know how to access ASF at all to set it up from the webend. Also from time to time, if i change something at the docker template the docker vanishes completely

Maybe someone else is also running Unraid with an ASF docker got some advises?

And how are the chances to see an ready to use Unraid docker image?
Ostatnio edytowany przez: Knopfdruckoffizier; 21 września 2018 o 7:57
Początkowo opublikowane przez Knopfdruckoffizier:
Początkowo opublikowane przez ¨EgZot!k.~:
a kind of tutorial would be nice if any of you guys didn't mind to invest some time in it.
as archi said, not many people are using ASF with this config, but surely someone is going to try it some time in the future.

well it is simpler than it looks, its quite easy!
I just dont know what went wrong in my case in the beginning, maybe my approach was too complicated, as i tried to follow the available tutorials...

Simple ASF Unraid Docker Setup Step by Step Guide:

1. Install Community Applications if not done before
2. Search for Archisteamfarm under Apps / you will get 0 results
3. Widen Search for DockerHub containers / you will get a lot results
4. Install the official docker from justarchi/archisteamfarm
5. Edit/check the docker settings:

Name: archisteamfarm Overview: [...] Repository: justarchi/archisteamfarm:released Docker Hub URL: https://hub.docker.com/r/justarchi/archisteamfarm/~/dockerfile/ Icon URL: /plugins/dynamix.docker.manager/images/question.png WebUI: http://[IP]:[PORT:1242] Extra Parameters: Post Arguments: CPU Pinning: CPU: [...] HT: [...] Network Type: Bridge Console shell command: Shell Privileged: [ON/OFF] Host Port 1: 1242 Container Port: 1242 Key 1: netcoreapp2.1 Container Variable: NET_CORE_VERSION Configs: /mnt/user/appdata/asf/ Container Path: app/config/

6. If you are missing the directories configs or container path, create them by using Add another Path, Port, Variable, Label or Device
7. Apply / Done / Start
8. Open Web-UI to setup the rest.

@all: Unraid is not witchcraft, it's meant to be easy for home use, so is its use of dockers.

@archi: humbly request that you mark my post as answer instead of yours.
< >
Wyświetlanie 1-15 z 24 komentarzy
Knopfdruckoffizier 24 września 2018 o 9:41 
still messing around getting it to run.
At least the docker logs are showing that archi is running, but i have no clue how to assign the directory to load the config from.
In Unraid configs for individual dockers are put into /mnt/user/appdata/DOCKER but how do i tell archi to look there?

tried to add extra parameter: -v /mnt/user/appdata/asf:/app/config to the docker template through Unraid config but it doesnt seem to work as expected
IPC doesnt seem to work out of the box ...

any advise would be helpful!
Ostatnio edytowany przez: Knopfdruckoffizier; 24 września 2018 o 9:47
Knopfdruckoffizier 24 września 2018 o 10:07 
okay seems i got asf to read my config directory now.
now the log shows that i have to supply the 2fa code for my accounts, but i can't input anything as it is running in the background.
Wonder how to solve this? ^^
Archi 24 września 2018 o 11:15 
Either use ASF 2FA, jump into console and execute or use Headless: true and send via IPC API with !input command.
Ostatnio edytowany przez: Archi; 24 września 2018 o 11:15
Rudokhvist 24 września 2018 o 12:52 
Początkowo opublikowane przez Archi:
or use Headless: true and send via IPC API with !input command.
He can't, he needs working IPC first.
Początkowo opublikowane przez Knopfdruckoffizier:
IPC doesnt seem to work out of the box ...
Knopfdruckoffizier 24 września 2018 o 13:13 
well i was looking into getting IPC to work, enabled in config file and the IPC is mapped from the docker to the server port. But when asking the server IP on the IPC port i'm not getting anything. Wonder if this has something to do with this local only policy of ASF? afaik i should be able to connect with a webbrowser, right? Or is IPC only working with headless enabled?
Ostatnio edytowany przez: Knopfdruckoffizier; 24 września 2018 o 13:25
Archi 24 września 2018 o 13:36 
You need to bind ASF inside docker to *:1242 as stated on the wiki, then expose route to a local machine.

If you've decided to make your life that hard and use ASF inside docker container then it's assumed that you have enough of knowledge about docker in the first place. This is not casual setup. We can help with ASF and answer ASF questions, but setup-related ones are out of the scope (and out of our knowledge because we simply don't use it).
Ostatnio edytowany przez: Archi; 24 września 2018 o 13:37
Knopfdruckoffizier 24 września 2018 o 13:39 
I can start the console of the docker if that may help me?
here are the files i have access to by the asf docker console
ArchiSteamFarm-Service.sh System.Xml.XPath.XmlDocument.dll es it-IT pt-BR tr-TR ArchiSteamFarm.deps.json af es-ES ja pt-PT uk ArchiSteamFarm.dll ar fa ja-JP ro uk-UA ArchiSteamFarm.runtimeconfig.json bg fi-FI ko-KR ro-RO uz-Cyrl-UZ Changelog.html bg-BG fr log.txt ru uz-Latn-UZ ConfigGenerator.html bn-BD fr-BE lt-LT ru-RU vi HtmlAgilityPack.dll config fr-FR lv runtimes vi-VN Humanizer.dll cs he nb sk www NLog.dll cs-CZ he-IL nb-NO sk-SK zh-CN Newtonsoft.Json.dll da hr nl sl zh-Hans SteamKit2.dll da-DK hu nl-NL sr zh-Hant SteamKit2.xml de hu-HU pl sr-Latn System.Security.Cryptography.ProtectedData.dll de-DE id pl-PL sv System.ServiceModel.Primitives.dll el id-ID protobuf-net.dll sv-SE System.ServiceModel.dll el-GR it pt tr
Ostatnio edytowany przez: Knopfdruckoffizier; 24 września 2018 o 13:40
Knopfdruckoffizier 24 września 2018 o 13:44 
Początkowo opublikowane przez Archi:
You need to bind ASF inside docker to *:1242 as stated on the wiki, then expose route to a local machine.

If you've decided to make your life that hard and use ASF inside docker container then it's assumed that you have enough of knowledge about docker in the first place. This is not casual setup. We can help with ASF and answer ASF questions, but setup-related ones are out of the scope (and out of our knowledge because we simply don't use it).

well all the other dockers im using are click'n'play (with ready to use Web or VNC interface), isnt that one of the main points of using a docker? having a VM ready to use without all the hassle?

otherwise it would be much more complicated for me: it would mean running asf directly on unraid os, or which is the easiest way in a VM with windows 10 (well i'd still prefer docker size of 50 MB instead of an installation of 15 GB ;-).

btw i was asking for someone that could help me and also maybe got own experiences with UnraidOS (which is one of the most popular Home Server and Home Storage Solutions).

i really dont want to bother you as a dev with this.
Ostatnio edytowany przez: Knopfdruckoffizier; 24 września 2018 o 13:54
Archi 24 września 2018 o 16:03 
I can leave you alone with this thread without problems, but you're the first guy asking anything related to UnraidOS since the first version of the program back in 2015, so if you expect it to be a common use case then I'm afraid that we're living on two different planets. You're unlikely to get help from anybody else.

The main point of having ASF in docker container is separation from the main OS and running it as a persistent service, not a desktop usage which is normally achieved without doing so. Either you want to use ASF as a desktop app (in which case you shouldn't use docker container) or you want to use ASF as a server/system service (in which case you should access it through IPC API and console output). If you're doing the second then you should be well aware how docker network works and how to connect to containers from host OS, in which case the only info you need to know is 1242/tcp exposed port that is declared in the container and IPC.config (V3.4+) or IPCPrefixes (otherwise) binding IPC to non-loopback interface.
Ostatnio edytowany przez: Archi; 24 września 2018 o 16:08
Knopfdruckoffizier 24 września 2018 o 16:53 
well archi, i appreciate your help in this case very much!
Im pretty sure we are living on the same planet ;-)
I just have some problems to get it started, maybe its not much different with any other OS. I'll try to get connected to initially set it up.
Am i right that i should now use my servers ip in the custom IPC.config to get access to the docker by any client? i.e.: change "Url": "http://127.0.0.1:1242" with the one of my server?

btw: im not the only one with that problem X)
https://steamcommunity.com/groups/archiasf/discussions/1/1488861734121545496/
Ostatnio edytowany przez: Knopfdruckoffizier; 24 września 2018 o 16:56
Archi 24 września 2018 o 17:31 
If you're using V3.4+ then follow up-to-date docker article which says a word about IPC and how to enable it on non-loopback interface. If you're using V3.3 and below then do the same but instead load older revision of that wiki article and set up IPCPrefixes instead.

Aftewards you should be able to do curl http://localhost:1242/Api/ASF without problems, and from there you can already help yourself I guess. Of course this assumes that you did what you were told in the article and properly redirected ASF ports.
Ostatnio edytowany przez: Archi; 24 września 2018 o 17:34
Knopfdruckoffizier 25 września 2018 o 15:16 
im getting this (using curl within the container):
# curl http://localhost:1242/Api/ASF <h1>Not Found (Not Found)</h1># # curl -X GET http://localhost:1242/Api/ASF <h1>Not Found (Not Found)</h1>#
Is this good or bad? ^^
Teklo 29 września 2018 o 19:04 
I think I managed to get this set up and working fairly well if you still need any help
Knopfdruckoffizier 29 września 2018 o 22:32 
yes ill sent you a message on steam, my docker is running, just need help in getting ipc to work ;)
Knopfdruckoffizier 30 września 2018 o 9:23 
its running now, after many tries. sadly setting it up wasn't that smooth as expected. I'm not even sure what i did wrong before ^^
But Teklo was able to help me a lot, thnx!
Ostatnio edytowany przez: Knopfdruckoffizier; 30 września 2018 o 9:24
< >
Wyświetlanie 1-15 z 24 komentarzy
Na stronę: 1530 50

Data napisania: 21 września 2018 o 7:57
Posty: 24