R
Railway2y ago
root

Rocket app gives a server error

Project ID: a302573a-79c5-49ff-b45f-10042279fe19 Code: https://github.com/aleksrutins/litelytics My app works fine locally, but when I try to deploy it to Railway, it doesn't work and doesn't log anything either.
GitHub
GitHub - aleksrutins/litelytics: A lightweight analytics platform.
A lightweight analytics platform. Contribute to aleksrutins/litelytics development by creating an account on GitHub.
10 Replies
Finn
Finn2y ago
For rocket you need to set the rocket address Like
ARG ROCKET_ADDRESS=0.0.0.0
ENV ROCKET_ADDRESS=${ROCKET_ADDRESS}
ARG ROCKET_ADDRESS=0.0.0.0
ENV ROCKET_ADDRESS=${ROCKET_ADDRESS}
Lmk if that works @aleks
root
root2y ago
Oh whoops I thought I was using Nixpacks 🤦‍♂️
Finn
Finn2y ago
Oo Eitherway I think it should fix it. Lmk if it doesn't or does 🙂
root
root2y ago
I somehow managed to not notice the dockerfile sitting at the root of my repo. 😂
Finn
Finn2y ago
Looool
root
root2y ago
Finn
Finn2y ago
Relatable Guessing my fix didn't work
root
root2y ago
Nope, it worked, I just had some other problems too. Thanks!
Finn
Finn2y ago
Oh nice No worries
root
root2y ago
How do I add the "solved" tag? Never mind, found it.