Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ wget https://raw.githubusercontent.com/BenjaminPrice/fvtt-docker/master/docker-c
### Step 2 - Download the Foundry VTT Zip File

- Navigate to your User Profile page and find your Software Download Links on your license page.
- Download the `Linux` version.
- Download the `Node.js` version.
- Save it to the same directory as the `docker-compose.yaml` file from the previous step.

### Step 3 - Create your data directory
Expand Down
12 changes: 7 additions & 5 deletions run-server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh

# look for a file name foundryvtt-.....zip or FoundryVTT...zip, copy it to
# /opt/foundryvtt, unzip and remove it. Then start the foundry app
set -e # Exit immediately on error

cd /opt/foundryvtt || exit
echo "Copying zip file..."
Expand All @@ -10,9 +9,12 @@ find /host -type f -name '[f,F]oundry[vtt,VTT]*.zip' -exec cp '{}' . ';'
echo "Unzipping..."
unzip -o ./*.zip -d unpacked && rm ./*.zip

echo "Moving to mapped directory"
echo "Cleaning target app folder..."
rm -rf resources/app/*

echo "Moving to mapped directory..."
mv unpacked/* resources/app/

echo "Starting node"
echo "Starting node..."
cd resources/app
node main.mjs --dataPath=/data/foundryvtt
exec node main.mjs --dataPath=/data/foundryvtt