Bind mount a file
Is there a way to bind mount a file and if yes is there an option to edit the file or can you suggest me an alternative way to do
13 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.No project ID was provided. Closing thread.
I do not have any project, i'm here for help to know if there are any ways to bind mount a file
Mind explaining what your use case is?
i have a go app and entire app works based on .yml config file
this is how i deploy locally
That doesn't clear anything up for me. Why do you need to bind mount a file?
it work for me in
railway
as I deploy using Dockerfile but if i want to create a template how should i do it and how should i allow other users to change the config as required
if there is a File Mount like we have Raw Editor option for env and JSON, can there be custom file content space where a config files like yml can be edited
sorry for my bad explanation hope you understand
can i get some help hereSolution
you cannot bind mount a file, we do not support it
we do not have any immediate plans to support bind mounts
ok
any alternative ways where i can deploy a template like this one where a user can edit the config file
you would want to expose the needed config via environment variables
thanks, It worked