Skip to content

Commit

Permalink
Railway Docker
Browse files Browse the repository at this point in the history
Upgrade, downgrade, dev
  • Loading branch information
psonnera committed Jun 10, 2024
1 parent cd3b008 commit 821b7b4
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 4 deletions.
22 changes: 20 additions & 2 deletions docs/update/dev_branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Select your platform below:
- If you ran into trouble, try to [Redeploy](/update/redeploy.md) (and this is **mandatory** if you don't see `dev` in GitHub.)</br></br>
:::
:::{tab-item} Google Cloud, Azure, Northflank (Docker)
:::{tab-item} Google Cloud, Docker (Azure, Northflank, Railway)
</br>You don't need to update your GitHub repository.</br></br>
:::
Expand Down Expand Up @@ -79,7 +79,7 @@ Select your platform below:
<img src="/vendors/heroku/img/UpdateNS25.png" width="800px" ></br></br>
:::
:::{tab-item} Railway
:::{tab-item} Railway (GitHub)
- Open [Railway](https://railway.app) and click `login`. Login with GitHub.</br></br>
<img src="/vendors/railway/img/Railway00.png" width="600px" /></br></br>
<img src="/vendors/railway/img/Railway01.png" width="300px" /></br></br>
Expand All @@ -95,6 +95,24 @@ Select your platform below:
- Once `dev` selected Railway will deploy automatically.</br>
:::
:::{tab-item} Railway (Docker)
</br>a) Open [Railway](https://railway.app) and click `login`. Login with GitHub.</br></br>
<img src="/vendors/railway/img/Railway00.png" width="600px" /></br></br>
<img src="/vendors/railway/img/Railway01.png" width="300px" /></br></br>
b) Select your Nightscout project.</br></br>
<img src="/vendors/railway/img/RailwayM15.png" width="500px" /></br></br>
c) Select your Docker service.</br></br>
<img src="/vendors/railway/img/RailwayD05.png" width="300px" /></br></br>
d) Click on `Settings`, disconnect the source image.</br></br>
<img src="/vendors/railway/img/RailwayD09.png" width="500px" /></br></br>
e) Select `Connect image` and replace `nightscout/cgm-remote-monitor:latest` with the [version](https://hub.docker.com/r/nightscout/cgm-remote-monitor/tags) you want to deploy (for example `nightscout/cgm-remote-monitor:latest_dev`).</br></br>
<img src="/vendors/railway/img/RailwayD10.png" width="500px" /></br></br>
<img src="/vendors/railway/img/RailwayD04.png" width="500px" /></br></br>
f) On the top left of the screen `Deploy`.</br></br>
<img src="/vendors/railway/img/RailwayD06.png" width="800px" /></br></br>
- Your site will redeploy with the latest version.</br></br>
:::
:::{tab-item} Northflank (Docker)
- Log into Northflank: [https://app.northflank.com/login](https://app.northflank.com/login)</br>
- Select your Nightscout project</br></br>
Expand Down
2 changes: 1 addition & 1 deletion docs/update/downgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If you use Heroku and you want to return to the previous version, see [Roll back

### **Docker**

You deployed a Docker container: you're not using GitHub) Azure, Northflank use [this method](/update/dev_branch).
You deployed a Docker container: you're not using GitHub (Azure, Northflank, Railway) use [this method](/update/dev_branch).

</br>

Expand Down
20 changes: 19 additions & 1 deletion docs/update/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Select your current platform below:
- If you ran into trouble, try to [Redeploy](/update/redeploy.md)</br></br>
:::
:::{tab-item} Google Cloud, Azure, Northflank (Docker)
:::{tab-item} Google Cloud, Docker (Azure, Northflank, Railway)
</br>You don't need to update your GitHub repository.</br></br>
:::
Expand Down Expand Up @@ -166,6 +166,24 @@ Visit your newly deployed app at https://example-ns.fly.dev/
- Your site will redeploy with the latest version.</br></br></br>
:::
:::{tab-item} Railway (Docker)
</br>a) Open [Railway](https://railway.app) and click `login`. Login with GitHub.</br></br>
<img src="/vendors/railway/img/Railway00.png" width="600px" /></br></br>
<img src="/vendors/railway/img/Railway01.png" width="300px" /></br></br>
b) Select your Nightscout project.</br></br>
<img src="/vendors/railway/img/RailwayM15.png" width="500px" /></br></br>
c) Select your Docker service.</br></br>
<img src="/vendors/railway/img/RailwayD05.png" width="300px" /></br></br>
d) Click on `Settings`, disconnect the source image.</br></br>
<img src="/vendors/railway/img/RailwayD09.png" width="500px" /></br></br>
e) Select `Connect image` and type `nightscout/cgm-remote-monitor:latest` then press enter.</br></br>
<img src="/vendors/railway/img/RailwayD10.png" width="500px" /></br></br>
<img src="/vendors/railway/img/RailwayD04.png" width="500px" /></br></br>
f) Go to the `Deployment` tab and from the three dots menu of the top deployment select `Redeploy`.</br></br>
<img src="/vendors/railway/img/RailwayD11.png" width="800px" /></br></br>
- Your site will redeploy with the latest version.</br></br>
:::
:::{tab-item} Google Cloud
</br>Continue [here](https://navid200.github.io/xDrip/docs/Nightscout/update_nightscout.html)</br></br>
:::
Expand Down
Binary file added docs/vendors/railway/img/RailwayD09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/vendors/railway/img/RailwayD10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/vendors/railway/img/RailwayD11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 821b7b4

Please sign in to comment.