Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD: Coder (code-server) SDL to Awesome Akash (#205)
* ADD: Coder (code-server) SDL to Awesome Akash * Add Code-server to top level README.md
- Loading branch information
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Akash Code-Server | ||
|
||
Launch a [Code-Server](https://coder.com/) server on the Akash blockchain. Run VS Code on any machine anywhere and access it in the browser. Visit the [code-server](https://github.com/cdr/code-server) github repo to learn more. | ||
|
||
|
||
|
||
## Requirements | ||
|
||
Linux machine with WebSockets enabled, 1 GB RAM, and 2 CPUs. | ||
## Environment Variables | ||
|
||
Information about the Environment Variables for this docker image can be found in the [linuxserver/docker-code-server](https://github.com/linuxserver/docker-code-server) github repo. | ||
### Required Variables | ||
|
||
```yaml | ||
- PUID=1000 | ||
- PGID=1000 | ||
- PASSWORD=password | ||
- SUDO_PASSWORD=password | ||
``` | ||
|
||
### Optional Variables | ||
|
||
```yaml | ||
- TZ=Europe/London | ||
- HASHED_PASSWORD= #optional | ||
- SUDO_PASSWORD_HASH= #optional | ||
- PROXY_DOMAIN=code-server.my.domain #optional | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: '2.0' | ||
services: | ||
codeserver: | ||
image: ghcr.io/linuxserver/code-server | ||
env: | ||
- PUID=1000 | ||
- PGID=1000 | ||
- PASSWORD=password | ||
- SUDO_PASSWORD=password | ||
|
||
expose: | ||
- port: 8443 | ||
as: 80 | ||
to: | ||
- global: true | ||
profiles: | ||
compute: | ||
codeserver: | ||
resources: | ||
cpu: | ||
units: 2 | ||
memory: | ||
size: 4Gi | ||
storage: | ||
size: 1Gi | ||
placement: | ||
westcoast: | ||
attributes: | ||
host: akash | ||
signedBy: | ||
anyOf: | ||
- akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63 | ||
pricing: | ||
codeserver: | ||
denom: uakt | ||
amount: 8000 | ||
deployment: | ||
codeserver: | ||
westcoast: | ||
profile: codeserver | ||
count: 1 | ||
|