2 months ago
Dear Railway Support Team,
I hope this message finds you well. I’m currently deploying a Laravel Breeze API project that requires PHP 8.2, and I’ve encountered persistent issues due to Docker Hub outages and Railpack’s lack of support for PHP 8.2.
Despite using a custom Dockerfile and adding a railway.json file to override Railpack, the build consistently fails with 503 errors when trying to pull even basic images like php:8.2-fpm, debian:bullseye-slim, or ubuntu:22.04. I’ve also attempted to use GitHub Container Registry (ghcr.io) as a fallback, but Railway’s build system returns a 403 Forbidden error when pulling private images.
I’ve followed all best practices:
Custom Dockerfile with manual PHP and Composer installation
Custom build command for Laravel optimization
Proper
.envconfiguration for API-only deploymentSymlinked persistent storage for
public/storage
At this point, I’m blocked from deploying entirely. I’d greatly appreciate your help in one of the following ways:
Confirming whether Railway can currently pull from Docker Hub or GHCR
Providing a workaround or temporary image cache for PHP 8.2
Offering guidance on authenticating GHCR pulls or switching to an alternative build system
This project is time-sensitive, and I’m committed to deploying on Railway if we can resolve this. Thank you in advance for your support and for building such a promising platform.
Warm regards,
Ahmed
2 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • about 2 months ago