Files
foundryvtt/alpine/files/Install_Script.sh
fithwum 2fbce73038
All checks were successful
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 8s
Build and Push foundryvtt Docker Image / build (push) Successful in 21s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 5s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 6s
update test 2
2026-04-29 07:41:06 -07:00

27 lines
703 B
Bash

#!/bin/bash
# Copyright (c) 2018 fithwum
# All rights reserved
# Variables.
FVTT_VERSION=14
echo " "
echo "Current FoundryVTT Release version is ${FVTT_VERSION}."
# Set permissions.
mkdir -p /foundry/fvtt /foundry/data
# chown 99:100 -R /foundry
find /foundry ! -user 99 -exec chown 99 {} \;
find /foundry ! -group 100 -exec chgrp 100 {} \;
# chmod 776 -R /foundry
find /foundry ! -perm 776 -exec chmod 776 {} \;
chmod +x /foundry/fvtt/resources/app/main.js
# Run.
echo "INFO ! Starting FoundryVTT Server"
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