radityaharya / showtime

Get upcoming schedules from Trakt. Integrate it with your Calendar of choice!
https://showtime.radityaharya.com
8 stars 0 forks source link

Deploying on Railway using template - Unsure on required environment variables before deployment #18

Open MrCredible opened 3 months ago

MrCredible commented 3 months ago

While trying to deploy on Railway using the given template, I was not sure what was needed for a few items.

The Railway template environment variables requires the items below to be provided before deployment is allowed and I am unsure how to move forward.

Apologies if my questions seem obvious on where to find these answers, but I have little experience with deployment of hosted services.

railway deployment requirements railway deployment requirements 2
radityaharya commented 3 months ago

Hey there, sorry for the late reply. I haven't updated the template, and yes I haven't got around to get the app running again due to personal reasons.

  1. secret_key isn't used anymore, I was using it as a JWT salt before I moved to nextjs.
  2. The redirect url should be http[s]://[base_url]/api/auth/callback/trakt as it's using the default callback path for nextauth
  3. Yes, TMDB is used in the backend to get a few info that trakt doesn't return in the show/movie details such as broadcaster and images.
  4. I forgot to pass variables from the services
  5. imgproxy isn't in the template yet as I added it after I made the template, and sentry is supposed to be optional as an error tracker and I removed the default value as people are starting to self host it and it's filling my sentry with other people's instance, but I haven't got around to make it ignore if it doesn't have an ingest url set.

I'm pretty sure the app itself is still working and you should be able to run it, but you'll need to host those subservices yourself.