Files
foundryvtt/alpine/files/Install_Script.sh
fithwum f4fbb22795
All checks were successful
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 10s
Build and Push foundryvtt Docker Image / build (push) Successful in 44s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 9s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 12s
test
2026-04-29 07:52:03 -07:00

25 lines
655 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
find /foundry \! -user 99 -exec chown 99 {} \;
find /foundry \! -group 100 -exec chgrp 100 {} \;
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