19 days ago
I am running LibreChat on Railway and need access to the service shell/terminal or a way to mount/edit librechat.yaml.
My goal is to configure LibreChat memory behavior without enabling the user-facing Agents endpoint.
I need to know:
1. How do I access the terminal/shell for this Railway service?
2. Where is librechat.yaml located, or how do I mount/provide one?
3. Can I add this memory configuration while keeping ENDPOINTS=openAI only?
memory:
disabled: false
personalize: true
tokenLimit: 3000
messageWindowSize: 5
agent:
provider: "openAI"
model: "gpt-5.1-2025-11-13"
I do not want to enable user-created agents, tools, plugins, web search, file search, code interpreter, MCP tools, or marketplace features.
Pinned Solution
19 days ago
- Right click the service and select "Copy SSH Command" and run that in your local terminal. (You'll need Railway CLI installed beforehand)
2/3: I wouldn't recommend editing this within the service.
Assuming you're running https://railway.com/deploy/librechat, you can create your own fork of the LibreChat repository and edit the librechat.yaml. You'll then change the target for the LibreChat service to point to your fork instead of the original image.
2 Replies
Status changed to Open Railway • 19 days ago
19 days ago
- Right click the service and select "Copy SSH Command" and run that in your local terminal. (You'll need Railway CLI installed beforehand)
2/3: I wouldn't recommend editing this within the service.
Assuming you're running https://railway.com/deploy/librechat, you can create your own fork of the LibreChat repository and edit the librechat.yaml. You'll then change the target for the LibreChat service to point to your fork instead of the original image.
16 days ago
Perfect!! Thank you so much, all worked!
Status changed to Solved 0x5b62656e5d • 16 days ago
