Can't Shell into a Service

2 years ago

railway shell --service inbound-mx 
Entering subshell with Railway variables available. Type 'exit' to exit.

Doesn't open the shell - Project ID: 44fd9123-c066-4c9a-b095-6f3aa6e49878

16 Replies

2 years ago

it opens a local shell with the with Railway variables available.


2 years ago

oh it doesn't put me in the shell on the VPS? <:Facepalm:1182373892455678132>


2 years ago

nope, railway is also a container environment, not VPS


2 years ago

Yeah - sorry. I meant container.

So I have a Docker image that I am running, I added a Storage to it and trying to create a config in the storage. Is that possible?


2 years ago

you mean a volume?


2 years ago

Yes - sorry <:Facepalm:1182373892455678132> (not using the right lingo, long day)


2 years ago

how often will this config file need to be modified?


2 years ago

Never (or very rarely)


2 years ago

does your app save info into this config file?


2 years ago

nope just reads from it. e.g. what to log and the format.


2 years ago

does it hold sensitive data?


2 years ago

Nope - I am running an inbound MTA (Kumo) and the Config is just around what domains to accept mail from, and what to log, and the format to send the Webhook in.


2 years ago

can the config file be placed in your repo?


2 years ago

I could potentially go that route honestly


2 years ago

Update - that path worked, pretty easy and simply. Can't believe I didn't think of that <:Facepalm:1182373892455678132>


2 years ago

awsome!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...