Skip to content

Commit

Permalink
Add: CodiMD (akash-network#207)
Browse files Browse the repository at this point in the history
* Create Readme.md

* Create deploy.yaml

* Update deploy.yaml

* Update README.md

Co-authored-by: Adam Bozanich <[email protected]>
  • Loading branch information
Rashmi-278 and boz authored Nov 4, 2021
1 parent 7ee6b10 commit aac4dea
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CodiMD/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# CodiMD
CodiMD lets you collaborate in real-time with markdown. Built on HackMD source code, CodiMD lets you host and control your team's content with speed and ease.
70 changes: 70 additions & 0 deletions CodiMD/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
version: "2.0"

services:
db:
image: postgres:11.6-alpine
env:
- POSTGRES_USER=codimd
- POSTGRES_PASSWORD=change_password
- POSTGRES_DB=codimd
expose:
- port: 3306
as: 3306
to:
- service: db
codimd:
image: hackmdio/hackmd:2.4.1
env:
- CMD_DB_URL=postgres://codimd:change_password@database/codimd
- CMD_USECDN=false
depends-on:
- db
expose:
- port: 3000
as: 3000
to:
- global: true

profiles:
compute:
db:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 512Mi
codimd:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 1Gi
placement:
westcoast:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
db:
denom: uakt
amount: 5000
codimd:
denom: uakt
amount: 5000

deployment:
db:
westcoast:
profile: db
count: 1
codimd:
westcoast:
profile: codimd
count: 1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Awesome DeFi apps you can deploy on Akash
- [dart-hello](dart)
- [Matomo](matomo)
- [Zammad](zammad)
- [CodiMD](CodiMD)
- [KnowYourDeFi](knowyourdefi)
- [Code-Server](code-server)

Expand Down

0 comments on commit aac4dea

Please sign in to comment.