docker asf挂卡/命令/farm/command

install docker

install docker
install docker-compose

安装asf

ASF Github

创建asf配置文件目录,config文件写到该目录, 在线生成config

IPC

配置文件asf/IPC.config

{
  "Kestrel": {
    "Endpoints": {
      "HTTP": {
        "Url": "http://*:1242"
      }
    }
  }
}

nginx代理IPC

https://github.com/JustArchiNET/ArchiSteamFarm/wiki/IPC#can-i-use-asfs-ipc-behind-a-reverse-proxy-such-as-apache-or-nginx

运行docker

docker pull justarchi/archisteamfarm
docker run -it -p 1242:1242 -v /path_2_local_asf_folder/asf:/app/config justarchi/archisteamfarm -d

asf command

https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Commands

手机令牌二次验证

ASF.json中允许headless命令

input chyi TwoFactorAuthentication xxxxx

Leave a Reply

Your email address will not be published. Required fields are marked *