updates some stuff

This commit is contained in:
Ben
2021-03-04 05:07:33 -05:00
parent f66c750ac6
commit 83c749a649
4 changed files with 57 additions and 9 deletions

View File

@@ -1,16 +1,23 @@
# code-server-deploy-container
An image built for deploying code-server to [railway.app](https://railway.app), [Heroku](https://heroku.com), or other app engines.
An container image built for deploying code-server.
![code-server running inside railway.app](../img/code-server-railway.png)
## Guides:
To launch your code-server environment, click the button below and log in with GitHub:
- [Deploy on Railway](guides/railway.md)
- [Deploy on Heroku](guides/heroku.md)
| [![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) | [![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/bpmct/deploy-code-server/tree/main) |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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. | 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. |
Docker Hub: `bencdr/code-server-deploy-container`
Docker Hub: this image is live on the Docker Hub at `bencdr/code-server-deploy-container`
---
## Environment variables:
| Variable Name | Description | Default Value |
| ------------- | ---------------------------------------------------------- | ------------- |
| `PASSWORD` | Password for code-server |
| `USE_LINK` | Use code-server --link instead of a password (coming soon) | false |
| `GIT_REPO` | A git repository to clone | |
---