updates
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 9s
Build and Push foundryvtt Docker Image / build (push) Successful in 38s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 11s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 11s

This commit is contained in:
2026-07-17 18:28:11 -07:00
parent a37e69dcd3
commit 772178eba7
2 changed files with 3 additions and 3 deletions
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
# Copyright (c) 2018 fithwum
# All rights reserved
# Variables.
FVTT_VERSION=14
echo " "
echo "INFO ! Current FoundryVTT Release version is ${FVTT_VERSION}."
# Set permissions.
mkdir -p /foundry/fvtt /foundry/data
sleep 1
if [ ! -e /foundry/version-${FOUNDRYVTT_VERSION} ];
then
echo "INFO ! Setting permissions for new/updated files"
find /foundry \! -perm 776 -exec chmod 776 {} \;
# find /foundry \! -user 99 -exec chown 99 {} \;
# find /foundry \! -group 100 -exec chgrp 100 {} \;
chmod +x /foundry/fvtt/resources/app/main.js
rm -fr /foundry/version-*
touch /foundry/version-${FOUNDRYVTT_VERSION}
else
echo "INFO ! Starting Server"
fi
sleep 1
# Run.
echo "INFO ! Starting FoundryVTT Server ${FOUNDRYVTT_VERSION}"
echo " "
# exec node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data
su foundry -c 'node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data --ignore-gpu-blacklist'
exit