Skip to content

Commit 647cbb7

Browse files
committed
some more reformatting
1 parent fe05cb8 commit 647cbb7

File tree

4 files changed

+37
-21
lines changed

4 files changed

+37
-21
lines changed

Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
A collection of one-click buttons and tutorials for deploying code-server to various cloud hosting platforms. The fastest way to get a code-server environment! ☁️
44

5-
| Platform | Type | Cheapest Plan | Deploy |
6-
| ----------------- | ---------------- | ------------------------------------- | ------ |
7-
| DigitalOcean | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
8-
| Vultr | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
9-
| Linode | VM | $3.50/mo, 1 CPU, 512 MB RAM | Test |
10-
| Railway | Deploy Container | Free, specs unknown, but very fast 🚀 | Test |
11-
| Heroku | Deploy Container | Free, 1 CPU, 512 MB RAM | Test |
12-
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
5+
| Platform | Type | Cheapest Plan | Deploy |
6+
| ----------------- | ---------------- | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| DigitalOcean | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
8+
| Vultr | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
9+
| Linode | VM | $3.50/mo, 1 CPU, 512 MB RAM | Test |
10+
| Railway | Deploy Container | Free, specs unknown, but very fast 🚀 | [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Fbpmct%2Fcode-server-railway&envs=PASSWORD%2CGIT_REPO&PASSWORDDesc=Your+password+to+log+in+to+code-server+with&GIT_REPODesc=A+git+repo+to+clone+and+open+in+code-server+%28ex.+https%3A%2F%2Fgithub.com%2Fcdr%2Fdocs.git%29) |
11+
| |
12+
| Heroku | Deploy Container | Free, 1 CPU, 512 MB RAM | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) |
13+
| |
14+
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
1315

1416
---
1517

app.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "code-server-heroku",
3+
"description": "A code-server environment designed to run in your Heroku",
4+
"repository": "https://github.com/bpmct/deploy-code-server",
5+
"logo": "https://avatars.githubusercontent.com/u/22407953?s=460&u=32797cfb0541bebfcf10a4613f56a65acd9f516d&v=4",
6+
"keywords": [
7+
"node",
8+
"express",
9+
"code-server",
10+
"cloud-development",
11+
"heroku-api"
12+
],
13+
"env": {
14+
"GIT_REPO": {
15+
"description": "URL of a git repo to clone (optional)",
16+
"required": false
17+
},
18+
"PASSWORD": {
19+
"description": "Create a password to log in to code-server with",
20+
"required": true
21+
}
22+
},
23+
"stack": "container"
24+
}

deploy-container/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
An image built for deploying code-server to [railway.app](https://railway.app), [Heroku](https://heroku.com), or other app engines.
44

5-
To launch your code-server environment, click the button below and log in with GitHub.
5+
![code-server running inside railway.app](../img/code-server-railway.png)
6+
7+
To launch your code-server environment, click the button below and log in with GitHub:
68

79
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Fbpmct%2Fcode-server-railway&envs=PASSWORD%2CGIT_REPO&PASSWORDDesc=Your+password+to+log+in+to+code-server+with&GIT_REPODesc=A+git+repo+to+clone+and+open+in+code-server+%28ex.+https%3A%2F%2Fgithub.com%2Fcdr%2Fdocs.git%29)
810

911
For Railway, it will ask you to make a new repo to store this image, so you can add additional software to your repo's `Dockerfile` in the future.
1012

1113
For Heroku, we recommend [using this repo as a template](https://github.com/bpmct/code-server-railway/generate) and using the one-click deploy on your own repo to further modify your app.
1214

13-
![code-server running inside railway.app](img/code-server-railway.png)
14-
1515
## 💾 Persist your filesystem with `rclone`
1616

1717
This image has built-in support for [rclone](https://rclone.org/) so that your files don't get lost when code-server is re-deployed.

0 commit comments

Comments
 (0)