This container supports Foundry VTT stable release 9.255
See:
This release contains significant changes to the container's caching behavior.
How has caching changed?
Prior to this release container caching was disabled by default and could be enabled by setting CONTAINER_CACHE
to a persistent path in the container.
As of this release container caching is enabled by default and points to /data/container_cache
.
Why has caching changed?
There were reports of servers that are suspected to be instances of this container continuously downloading Foundry VTT releases non-stop. That is, a container would be stuck in a loop similar to this:
- Download a Foundry VTT distribution which is currently weighing in at
185M
. - Crashing due to some unknown cause.
- Restarting due to an orchestration restart policy.
- Repeat loop.
This was causing a significant load on the service that hosts the FoundryVTT releases.
What does this mean for my container?
- If you previously were setting
CONTAINER_CACHE
nothing will change. You server will operate as it did previously, storing cached distributions where you specified. - If you were authenticating externally and providing the container a URL via the
FOUNDRY_RELEASE_URL
environment variable nothing will change. - If you were not setting
CONTAINER_CACHE
, a new directory namedcontainer_cache
will be created in yourdata
volume and will contain zip files for each FoundryVTT release. They will be named likefoundryvtt-9.255.zip
. Your container will use these zip at startup instead of downloading one each time. When new versions are available they will be downloaded as usual. This can significantly speedup container startup time. See the Optional environment variables section of theREADME
for more information.
If I want to disable caching how is that accomplished?
If you would like to disable this caching behavior you can set CONTAINER_CACHE
to ""
(an empty string). Please note that if you disable the container cache and are providing credentials to download distributions the exiting behavior of the container will be modified. Instead of exiting the container will sleep. This is to prevent a container from entering the aforementioned downloading loop. A sleeping container's status will be designated as unhealthy
.
What's Changed
- Bump actions/cache from 2 to 3 by @dependabot in #300
- Update javascript dependencies and import changes by @felddy in #302
- Fix linter bit rot detected in nightly builds by @felddy in #305
- Improve release caching and prevent download loops by @felddy in #307
Full Changelog: v9.255.0...v9.255.1