Railway Deploy
Railway is one of the cleanest hosted options for the current bot.
Steps
- Fork the repository on GitHub.
- Create a new Railway project and choose Deploy from GitHub.
- Select your forked repository.
- Let Railway detect the Docker build from the repository root.
- Add the required environment variables in the Railway variables panel.
- Redeploy after saving the variables.
Environment Variables
BOT_TOKEN=
OWNER_ID=
AUTH_USERS=
DOWNLOAD_LOCATION=./DOWNLOADS
CHUNK_SIZE=128
HTTP_PROXY=
PROCESS_MAX_TIMEOUT=3700Notes
- Railway should build from the root
Dockerfile - the service should run the default container command
- if the first deploy starts before variables are set, just redeploy once the values are in place