some more reformatting
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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
|
||||
18
README.md
18
README.md
@@ -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 🚀 | [](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 | [](https://heroku.com/deploy) |
|
||||
| |
|
||||
| Azure App Service | Deploy Container | Free, 1 CPU, 1 GB RAM | Test |
|
||||
|
||||
---
|
||||
|
||||
|
||||
24
app.json
Normal file
24
app.json
Normal 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"
|
||||
}
|
||||
@@ -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.
|
||||

|
||||
|
||||
To launch your code-server environment, click the button below and log in with GitHub:
|
||||
|
||||
[](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.
|
||||
|
||||

|
||||
|
||||
## 💾 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.
|
||||
|
||||
Reference in New Issue
Block a user