Sign inSign up

pgschk/foundryvtt-containerized

By pgschk

Updated 22 days ago

Image
0

7.8K

pgschk/foundryvtt-containerized repository overview

Docker publish ghcr publish GitHub release (with filter) Daily Vulnerability Scan

FoundryVTT Container

This project is not affiliated with FoundryVTT and is a pure containerization project that provides a container capable of running FoundryVTT, but it does not contain FoundryVTT!

In order to start this container for the first time, you need to provide a timed download URL provided through your FoundryVTT account. Visit https://foundryvtt.com/purchase/ to purchase a license key for this excellent software.

What does it do?

This container provides the necessary nodejs environment for FoundryVTT. You will need to provide a valid timed download URL for FoundryVTT through the environment variable FOUNDRYVTT_DOWNLOAD_URL as described in the examples when you first start the container. This will cause it to download FoundryVTT from that URL and store it. On subsequent launches you can remove this environment variable, or leave it, it does not cause problems.

Obtaining the TIMED DOWNLOAD URL

  1. Make sure you have purchased a valid FoundryVTT license at https://foundryvtt.com/purchase/.
  2. Log into your FoundryVTT.com account.
  3. Visit https://foundryvtt.com/me/licenses.
  4. On this page, set "Operating System" to "Linux/NodeJS"
  5. Click the "TIMED URL" button. This copies a timed download URL to your clipoard.
  6. Paste this URL as environment variable FOUNDRYVTT_DOWNLOAD_URL and start your container (see examples below)

FoundryVTT Download Page

Examples

Docker
mkdir install data && chown 1000 install data
docker run  --user 1000:1000 -p 8080:8080 -v ./data:/data/foundry -v ./install:/usr/src/app/foundryvtt -e FOUNDRYVTT_DOWNLOAD_URL="<your-timed-download-url>" pgschk/foundryvtt-containerized:latest

Visit http://localhost:8080/ to confirm the FoundryVTT Terms of Service and enter your license key.

Docker Compose

Go to examples/docker-compose and edit .env to set your timed download URL for FoundryVTT.

Afterwards run

mkdir install data && chown 1000 install data
docker compose up -d

Visit http://localhost:8080/ to confirm the FoundryVTT Terms of Service and enter your license key.

Kubernetes
  • Review and adapt the example in examples/kubernetes/deployment.yaml.
  • Make sure to set your timed download URL for FoundryVTT as enviroment variable FOUNDRYVTT_DOWNLOAD_URL.
  • Start your Kubernetes deployment:
kubectl apply -n <target namespace> -f examples/kubernetes/deployment.yaml

Or use the Helm chart at https://github.com/pgschk/helm-charts/tree/main/charts/foundryvtt-containerized

Tag summary

Content type

Image

Digest

sha256:e669dde03

Size

71.8 MB

Last updated

22 days ago

docker pull pgschk/foundryvtt-containerized