R
Railway3mo ago
Baker

Can't Shell into a Service

railway shell --service inbound-mx
Entering subshell with Railway variables available. Type 'exit' to exit.
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
Solution:
can the config file be placed in your repo?
Jump to solution
16 Replies
Percy
Percy3mo ago
Project ID: 44fd9123-c066-4c9a-b095-6f3aa6e49878
Brody
Brody3mo ago
it opens a local shell with the with Railway variables available.
Baker
BakerOP3mo ago
oh it doesn't put me in the shell on the VPS? :Facepalm:
Brody
Brody3mo ago
nope, railway is also a container environment, not VPS
Baker
BakerOP3mo 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?
Brody
Brody3mo ago
you mean a volume?
Baker
BakerOP3mo ago
Yes - sorry :Facepalm: (not using the right lingo, long day)
Brody
Brody3mo ago
how often will this config file need to be modified?
Baker
BakerOP3mo ago
Never (or very rarely)
Brody
Brody3mo ago
does your app save info into this config file?
Baker
BakerOP3mo ago
nope just reads from it. e.g. what to log and the format.
Brody
Brody3mo ago
does it hold sensitive data?
Baker
BakerOP3mo 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.
Solution
Brody
Brody3mo ago
can the config file be placed in your repo?
Baker
BakerOP3mo ago
I could potentially go that route honestly Update - that path worked, pretty easy and simply. Can't believe I didn't think of that :Facepalm:
Brody
Brody3mo ago
awsome!
Want results from more Discord servers?
Add your server