Skip to content

Commit

Permalink
ADD: Coder (code-server) SDL to Awesome Akash (#205)
Browse files Browse the repository at this point in the history
* ADD: Coder (code-server) SDL to Awesome Akash

* Add Code-server to top level README.md
  • Loading branch information
blockpill committed Oct 13, 2021
1 parent 89282b3 commit 3d64048
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -146,6 +146,7 @@ Awesome DeFi apps you can deploy on Akash
- [Matomo](matomo)
- [Zammad](zammad)
- [KnowYourDeFi](knowyourdefi)
- [Code-Server](code-server)

### Video Conferencing

Expand Down
29 changes: 29 additions & 0 deletions code-server/Readme.md
@@ -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
```
42 changes: 42 additions & 0 deletions code-server/deploy.yml
@@ -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

0 comments on commit 3d64048

Please sign in to comment.