LANCache-Prefill

LANCache-Prefill

Docker 应用程序 from ich777's Repository

概述

This container will download and install BattleNetPrefill and/or EpicPrefill and/or SteamPrefill and run the prefill on a cron schedule.

Network: It is recommended to run this container in the same network mode as the LANCache-DNS if used, by default it is set to br0 please change that if you have your LANCache server configured to work network wide on your LAN to the correct network type for your configuration.

DNS: I would strongly recommend that you set the DNS manually to the LANCache-DNS if you haven't it configured to be network wide on your LAN, to do that turn on the advanced view (toggle switch in the top right corner) and at the extra parameters append: --dns=yourLANcacheSERVER (of course replace 'yourLANcacheSERVER' with the address of your LANCache-DNS).

Update Notice: The container will check by default on each start/restart on new updates for BattleNetPrefill and/or EpicPrefill and/or SteamPrefill, this can be disabled if really wanted.

BattleNet|Epic|Steam Prefill Notice: Steam Prefill needs to be configured to work properly, please enter the following commands and/or follow the prompts afterwards, you can close the window when you are finished:

  1. Open up a container console
  2. Type in 'su ${USER}' and press ENTER
  3. Type in 'cd ${DATA_DIR}/(BattleNet|Epic|Steam)Prefill' and press ENTER
  4. Type in './(BattleNet|Epic|Steam)Prefill select-apps' and press ENTER
  5. Type in './(BattleNet|Epic|Steam)Prefill select-apps' and press ENTER
  6. Enter your credentials and/or follow the steps displayed
  7. Select the apps you want to prefill and press ENTER
  8. Done

Notice: In the above example you have to choose between BattleNet, Epic or Steam so that it says BattleNetPrefill, EpicPrefill or SteamPrefill instead of (BattleNet|Epic|Steam)Prefill. (these stepps are also displayed in the container log when BatteNet/Epic/Steam isn't/aren't configured yet)

If you ever want to change the apps you've selected then follow these steps again.

要求

LANCache Server

运行时参数

网络
br0
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

Data PathPathrw

Main data path

目标
/lancacheprefill
价值
/mnt/user/appdata/lancache-prefill
Enable BattleNetPrefillVariable

Set to 'true' or 'false' to enable or disable BattleNetPrefill

目标
ENABLE_BN
默认值
false|true
价值
false
BattleNetPrefill ScheduleVariable

Set your cron schedule for BattleNetPrefill if enabled (by default it is set to 02:00 - head over to https://crontab.guru/ to create your own if you want to customize it)

目标
CRON_SCHED_BN
Enable EpicPrefillVariable

Set to 'true' or 'false' to enable or disable EpicPrefill

目标
ENABLE_EPIC
默认值
false|true
价值
false
EpicPrefill ParametersVariable

You can get a full list of parameters over here: https://github.com/tpill90/epic-lancache-prefill#getting-started

目标
PREFILL_PARAMS_EPIC
EpicPrefill ScheduleVariable

Set your cron schedule for the EpicPrefill if enabled (by default it is set to 04:00 - head over to https://crontab.guru/ to create your own if you want to customize it)

目标
CRON_SCHED_EPIC
Enable SteamPrefillVariable

Set to 'true' or 'false' to enable or disable SteamPrefill (please note that you have to configure SteamPrefill first - to get a tutorial on how to do that please open up the container console after the first start and follow the on screen instructions).

目标
ENABLE_STEAM
默认值
true|false
价值
true
SteamPrefill ParametersVariable

You can get a full list of parameters over here: https://tpill90.github.io/steam-lancache-prefill/detailed-command-usage/Prefill/#options (if you want to only prefill your selected apps then leave this variable empty)

目标
PREFILL_PARAMS_STEAM
价值
--recent
SteamPrefill ScheduleVariable

Set your cron schedule for SteamPrefill if enabled (by default it is set to 02:00 - head over to https://crontab.guru/ to create your own if you want to customize it)

目标
CRON_SCHED_STEAM
Check for Prefill updatesVariable

Set to 'true' to enable to check for updates from BattleNetPrefill/SteamPrefill on container start/restart or disable it by setting it to 'false'.

目标
UPDATES
默认值
true|false
价值
true
Prefill on StartupVariable

Set to 'true' to force a Prefill on every container start/restart (please be carefull with this option and enable only when you know what you are doing!)

目标
PREFILL_ONSTARTUP
默认值
false|true
价值
false
Log cleanupVariable

Set to 'true' to clean up the .../logs directory on each start/restart from the container.

目标
LOGCLEANUP
默认值
true|false
价值
true
Global ScheduleVariable

Specify a cron schedule to override the individual schedules for BatteNetPrefill and SteamPrefill. It will run on by one at the given cron schedule (BattleNetPrefill will be run first and SteamPrefill afterwards depending if both are enabled)

目标
CRON_SCHED_GLOBAL
价值
0 2 * * *
UIDVariable
价值
99
GIDVariable
价值
100
DATA_PERMVariable
价值
770
UMASKVariable
价值
000

下载统计数据

45,712
下载总数
838
本月
1,797
平均每月

长期下载总量

加载图表...

详细信息

存储库
ghcr.io/ich777/lancache-prefill
最后更新2026-01-08
初见2022-11-09

在Unraid 上运行 LANCache-Prefill 。

LANCache-Prefill 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。