Can you add password protection to template projects?
ridiculous-pirating-parrot
HOBBYOP

2 years ago

Hi, my question is if there is a Railway-native feature that allows me to add an arbitrary passcode or username/password to protect my deployed apps from being seen by the public? For example, spinning up Fathom Lite as an app exposes production analytics to the world—not so great. In this case, any kind of simple auth wall would probably suffice. Please let me know of any first-class solutions or workarounds! Thanks!

5 Replies

brody
EMPLOYEE

2 years ago

is if there is a Railway-native feature that allows me to add an arbitrary passcode or username/password to protect my deployed apps

There is not, this has to be added by you (like a reverse proxy) or the app you are deploying.

How have you deployed Fathom to Railway? Are you aware that the self-hosted version hasn't been updated in 4 years?


ridiculous-pirating-parrot
HOBBYOP

2 years ago

Makes sense!

I used this template: https://railway.app/template/dXJiR5. But that's good to know; some of the other self-hosted options, like Umami and Matomo, seem more desirable to me anyway.


brody
EMPLOYEE

2 years ago

That template does not have data persistence, if you were to redeploy it for whatever reason you would lose all your analytics. I would highly recommend you use something else, like Swetrix, umami, Matomo, or Ackee


ridiculous-pirating-parrot
HOBBYOP

2 years ago

Thanks for the help! Which do you prefer, if any?


brody
EMPLOYEE

2 years ago

Oh yeah forgot about Plausible, it looks like that template is of decent quality and has a 100% deployment success rate.

I have only used umami myself so I'm probably not the best to ask, do some research, pick one, and if you don't like it simply delete the project and try a different template!


Loading...