some more reformatting

This commit is contained in:
Ben
2021-03-04 03:39:36 -05:00
parent fe05cb8c7f
commit 647cbb761e
4 changed files with 37 additions and 21 deletions

View File

@@ -1,10 +0,0 @@
# Start with our deploy-container image (Debian)
FROM bencdr/deploy-container:latest
USER coder
# You can add custom software and dependencies for your environment here. Some examples:
# RUN code-server --install-extension esbenp.prettier-vscode
# RUN sudo apt-get install -y build-essential
# RUN COPY myTool /home/coder/myTool

View File

@@ -2,14 +2,16 @@
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! ☁️
| Platform | Type | Cheapest Plan | Deploy |
| ----------------- | ---------------- | ------------------------------------- | ------ |
| DigitalOcean | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
| Vultr | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
| Linode | VM | $3.50/mo, 1 CPU, 512 MB RAM | Test |
| Railway | Deploy Container | Free, specs unknown, but very fast 🚀 | Test |
| Heroku | Deploy Container | Free, 1 CPU, 512 MB RAM | Test |
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
| Platform | Type | Cheapest Plan | Deploy |
| ----------------- | ---------------- | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DigitalOcean | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
| Vultr | VM | $5/mo, 1 CPU, 1 GB RAM | Test |
| Linode | VM | $3.50/mo, 1 CPU, 512 MB RAM | Test |
| 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) |
| |
| Heroku | Deploy Container | Free, 1 CPU, 512 MB RAM | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) |
| |
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
---

24
app.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "code-server-heroku",
"description": "A code-server environment designed to run in your Heroku",
"repository": "https://github.com/bpmct/deploy-code-server",
"logo": "https://avatars.githubusercontent.com/u/22407953?s=460&u=32797cfb0541bebfcf10a4613f56a65acd9f516d&v=4",
"keywords": [
"node",
"express",
"code-server",
"cloud-development",
"heroku-api"
],
"env": {
"GIT_REPO": {
"description": "URL of a git repo to clone (optional)",
"required": false
},
"PASSWORD": {
"description": "Create a password to log in to code-server with",
"required": true
}
},
"stack": "container"
}

View File

@@ -2,7 +2,9 @@
An image built for deploying code-server to [railway.app](https://railway.app), [Heroku](https://heroku.com), or other app engines.
To launch your code-server environment, click the button below and log in with GitHub.
![code-server running inside railway.app](../img/code-server-railway.png)
To launch your code-server environment, click the button below and log in with GitHub:
[![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)
@@ -10,8 +12,6 @@ For Railway, it will ask you to make a new repo to store this image, so you can
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.
![code-server running inside railway.app](img/code-server-railway.png)
## 💾 Persist your filesystem with `rclone`
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.