yoshikidneo / RaspberryPi-FoundryVTT-Server

This is the step by step for my video, hopefully this makes things easier especially for copy and pasting!
15 stars 0 forks source link

[Suggestion] Multi-license instructions? #1

Open BenNelsonNeb opened 3 weeks ago

BenNelsonNeb commented 3 weeks ago

First of all, I must say your instructions both on YouTube and Github have been my saving grace. So a huge THANK YOU! I have been running a Foundry server on my Raspberry Pi for two years with little to no issues. The Cloudflare tunneling was super smooth and provided me with the security needs I had been looking for. On to the request!

My team and I are looking to purchase another license! We have others on the team looking to run their own game but also run different versions of the core systems. My assumption is that adding another license wouldn't be hard between Docker, Portainer, and the Cloudflare setup. I thought, just the same setup but with "foundry2". But there are other questions, like...do I need different ports? Can I share assets? Are there other gotchas I am not thinking of?

SO...if you have the time can you amend your instructions to include the best way to add multiple licenses, safely and efficiently?

yoshikidneo commented 3 weeks ago

I don’t have time to update this weekend, but it is fairly simple to add more containers. You’ll need a separate hostname and port number, as well as a DATA folder for that container. I haven’t looked into how to share a data folder with assets, but I’m sure it can be done.

You also don’t have to have multiple licenses for this if you want to use the same one, all you need to do is make a separate port outside the container while keeping the 30000 on the inside the same. Example: Foundry1.url.com 30000:30000 Foundry2.url.com 30001:30000

the left value is the published port you’d put in cloudflare to reach it through the internet, the right value is the port inside the container that cannot be changed easily without headache.