Deploy T3 Code
T3 code hosted on railway with the web app open to the public
railway-t3-code
Just deployed
/data
Deploy and Host T3 Code on Railway
This template is a simple docker file allowing you to host a t3 code instance publicly on railway. It will allow you to run your agents remotely and connect using the connection string
https://github.com/tpkowastaken/railway-t3-code
About Hosting - Setup
- Add this template
- Once the application is deployed you will need to get the connection token. You will find that in deploy logs of the latest deployment. On migrations to a different location, you will need to redeploy and get the connection string again
- Open The public link from railway. You need to click on the instance, settings and there it should be
- Once you open the public url set by Railway, you will need to put this token there to access
- After that press ctrl + j or cmd + j do codex login --device-auth to login to the codex cli.
You are free to setup other developer tools, mcps and connectors as you wish.
Common Use Cases
- Going to work and then closing your laptop
- Using your phone to code
Dependencies for T3 Code Hosting
- You will need to have a chatgpt/claude subscription
Why Deploy T3 Code on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying T3 Code on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Disclaimer
This is not affiliated with Theo and is very hobby-ish. You are welcomed to fork, expand and contribute.
Template Content
railway-t3-code
tpkowastaken/railway-t3-code