My source data isn't showing up on my render disk

Hi! I’m trying to run a docker image of an older Rails system. I can get everything up fine on my local but in my docker-compose.yml I use a volume for my source code. I made a disk in render for my app and set my directory name in the mount path. I know my source is copied there initially because i can do a bundle install so it sees my Gemfile. But after it deploys my source isn’t there.

Any thoughts? Thanks in advance for any help!

Ray

Maybe my disk drive is bad?? I’m getting this message:

The system was unable to fetch metrics for this service.
We've been notified and are working on a fix. Please try again in a bit.
Sorry!

Any help?

Hi Ray,

Thanks for reaching out. I’m not 100% clear on your implementation here.

Disks are intended for data that needs to persist outside of your app’s code, e.g. user content such as file uploads, etc. Disks are not available at build time, your source should be part of the built Docker image.

If you have some more details on what you’re trying to achieve we may be able to assist you further.

Kind regards

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.