Add Railway deployment method for proxy and backend

This commit is contained in:
qtchaos
2024-01-08 02:09:39 +02:00
parent 8dc2c38bae
commit 3d76900496
2 changed files with 32 additions and 1 deletions

View File

@@ -52,7 +52,22 @@ Cloudflare has a generous free plan, so you don't need to pay anything unless yo
1. Your worker is now deployed! You can click the back button in the top left to take you back to the summary screen.
1. On the summary screen, your worker link will be displayed under `Preview`. Right click the link, click `Copy link address` and save the link somewhere - you will need it to set up the client!
## Method 2 - Docker
## Method 2 - Railway (Easy)
Railway offers you $5 of credit once you verify your account, which is enough to run the proxy for around 5-7 months.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/dyYHq1)
1. Login to your [Railway](https://railway.app) account if you have one, otherwise create one [here](https://railway.app/login).
1. If you are signing up, then verify your account by clicking the link in the email Railway sends you.
1. If you created your account with an email, then to verify your account further, go to your account, then plans and verify your account with a GitHub account.
1. Click the [`Deploy on Railway`](https://railway.app/template/dyYHq1) button above.
1. If a `Configure` button is displayed, click on it and allow Railway to access your GitHub account.
1. The `Deploy` button at the bottom of the template should be active, click on it.
1. Once the proxy has deployed, copy the URL from the `Deployments` page.
1. Congratulations! You have deployed the proxy, you can now set up the client.
## Method 3 - Docker
::alert{type="warning"}
Experience with Docker, domains and web hosting is **highly recommended** for this method. <br />