How do I attach a volume to a service?
addamsson
PROOP

a year ago

I've been trying to run a File browser instance (as was suggested here) but I can't figure out how to attach a specific volume to it. It always deploys with its own volume which I can delete, but I can't seem to drag'n'drop or configure the volume nor the file browser to point into the right direction. What am I doing wrong?

54 Replies

a year ago

Click on the volume attached to the filebrowser, disconnect it, click on the volume that you’d like to view, connect it to the filebrowser service


a year ago

everything you need is under the volume settings


addamsson
PROOP

a year ago

i can't seem to find it


addamsson
PROOP

a year ago

in which menu is this?


addamsson
PROOP

a year ago

i have a single volume that i want to attach to 2 services but i can only detach volumes


addamsson
PROOP

a year ago

there is no volume settings in a service


addamsson
PROOP

a year ago

it shows which service it is connected to

1281612127378997200


a year ago

you can not attach a volume to multiple services


addamsson
PROOP

a year ago

but i cant add more services


addamsson
PROOP

a year ago

why?


a year ago

because that's not something the platform supports at this time


addamsson
PROOP

a year ago

that's a super-basic feature


addamsson
PROOP

a year ago

oh my god


a year ago

not quite


a year ago

at a high level it definitely seems basic, but at a low level there are many challenges


addamsson
PROOP

a year ago

from an implementation standpoint maybe but from an usage standpoint it is absolutely basic


addamsson
PROOP

a year ago

none of which are my concern ngl


a year ago

implementation is all that matters here


addamsson
PROOP

a year ago

for you maybe


addamsson
PROOP

a year ago

but not for your end users


a year ago

they don't need to be, correct, but that doesn't change the fact of the matter unfortunately


addamsson
PROOP

a year ago

ok just to prevent an xy problem


addamsson
PROOP

a year ago

i'm trying to move my docker-compose to railway


a year ago

it's something we will support in the future for sure


addamsson
PROOP

a year ago

and i'm trying to set up prometheus, tempo and grafana


addamsson
PROOP

a year ago

in my current setup i have a volume where i store the configs


addamsson
PROOP

a year ago

1281612910887440600


addamsson
PROOP

a year ago

i tried to set up all 3 without these but it seems that i can't configure the docker images as railway doesn't let me


a year ago

you could ship the config files inside of the images


addamsson
PROOP

a year ago

you mean i should build an image and use it here?


addamsson
PROOP

a year ago

the bigger problem is that railway doesn't list the image config options

1281613275640893400


a year ago

why does it need to?


addamsson
PROOP

a year ago

so that i can set them


addamsson
PROOP

a year ago

1281613386907385900


a year ago

what do you want to see?


addamsson
PROOP

a year ago

the possible options i guess


a year ago

image is shown in the service settings
command is the start command in the service settings
volume is a volume
ports are shown in the service settings


addamsson
PROOP

a year ago

although tempo is a bad example as it works from a config file


addamsson
PROOP

a year ago

how do I set the "command" variable for example?


addamsson
PROOP

a year ago

i don't see the option


addamsson
PROOP

a year ago

it is not an env var


addamsson
PROOP

a year ago

or is it?


a year ago

its in the service settings


addamsson
PROOP

a year ago

there is "custom startup command" but it doesn't work


addamsson
PROOP

a year ago

just vcrashes the service


addamsson
PROOP

a year ago

if i copy/paste "command" from my docker-compose file


a year ago

you are likely using the wrong command, please see the docs for this -


addamsson
PROOP

a year ago

i copy-pasted it from here verbatim


addamsson
PROOP

a year ago

1281617795838378000


addamsson
PROOP

a year ago

tried with and without quotes


a year ago

please read the docs i linked


addamsson
PROOP

a year ago

ok


addamsson
PROOP

a year ago

this is horrible ux so far


addamsson
PROOP

a year ago

i might be better off with aws instead 😒


Loading...