At least in my experience, enjoyable work on a project you have control over is quite different from working on projects for the corporate overlords with unreasonable expectations and deadlines. The former can be a really good outlet to remind you how rewarding work can be when you have control of how, when and what you work on.
I’ve got mine on a subdomain through a Cloudflare tunnel that points to my local nginx proxy manager (with wildcard SSL certs) then to immich. You can do access control through Cloudflare as well. Quite low risk in my opinion as long as you protect it properly.