R
Railway3y 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
Finn3y 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
rootOP3y ago
Oh whoops I thought I was using Nixpacks 🤦‍♂️
Finn
Finn3y ago
Oo Eitherway I think it should fix it. Lmk if it doesn't or does 🙂
root
rootOP3y ago
I somehow managed to not notice the dockerfile sitting at the root of my repo. 😂
Finn
Finn3y ago
Looool
root
rootOP3y ago
Finn
Finn3y ago
Relatable Guessing my fix didn't work
root
rootOP3y ago
Nope, it worked, I just had some other problems too. Thanks!
Finn
Finn3y ago
Oh nice No worries
root
rootOP3y ago
How do I add the "solved" tag? Never mind, found it.
Want results from more Discord servers?
Add your server