Skip to content

How to cache a FoundryVTT release so it doesn't need to redownload #150

Answered by felddy
MicahZoltu asked this question in Q&A
Discussion options

You must be logged in to vote

If you recreate the container the Docker image needs to reinstall the FoundryVTT distribution. The installation of Foundry does not persist by design. Since you used the FOUNDRY_RELEASE_URL method, you'll have to provide a fresh link.

If you want to avoid this hassle you can do a few different things. First, I'd use the CONTAINER_CACHE environment variable to store the downloaded release somewhere in your /data volume. I use /data/container_cache. Once you have the release tarball cached you can remove theFOUNDRY_RELEASE_URL. The container will use the tarball to install.

If you want to avoid enabling and disabling the FOUNDRY_RELEASE_URL you can pass your credentials either with secrets …

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by felddy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #149 on February 22, 2021 23:05.