apsys
apsys
RRailway
Created by apsys on 1/31/2024 in #✋|help
Region selection
Hello, would railway services be accessible from Western Europe if i would go on a pro plan and change region to Netherlands ? Seems like deployed instances in Oregon doesn’t work here (or requires additional setup)
9 replies
RRailway
Created by apsys on 7/13/2023 in #✋|help
Node + fastapi
Hey guys, I really struggle with setting up back container (fastapi, uvicorn, dockerfile) on railway. Basically it only works when container is fully rebuilt and deployed again. Looks like there is no entry point/cmd detected on reload/push to component. Is there anything I am missing ? (Whole project work perfectly fine on my local machine) Also the deploy logs don’t appear at all. Build logs are always finished, without error (last message is pushed $commit_name) , but after like 10 min mark everything crashes. Dockerfile FROM python:3.9-bullseye WORKDIR /app RUN apt-get update && apt-get install -y libgl1-mesa-glx libglib2.0-0 libsm6 libxext6 libxrender-dev tesseract-ocr libtesseract-dev freeglut3-dev tesseract-ocr-all wget COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt COPY . . EXPOSE 80 ENTRYPOINT [ "/bin/bash", "-c","cd src; uvicorn main:app --host 0.0.0.0 --port 80"]
38 replies