Skip to content

Commit aac4dea

Browse files
Rashmi-278boz
andauthored
Add: CodiMD (akash-network#207)
* Create Readme.md * Create deploy.yaml * Update deploy.yaml * Update README.md Co-authored-by: Adam Bozanich <[email protected]>
1 parent 7ee6b10 commit aac4dea

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed

CodiMD/Readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# CodiMD
2+
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.

CodiMD/deploy.yaml

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
version: "2.0"
3+
4+
services:
5+
db:
6+
image: postgres:11.6-alpine
7+
env:
8+
- POSTGRES_USER=codimd
9+
- POSTGRES_PASSWORD=change_password
10+
- POSTGRES_DB=codimd
11+
expose:
12+
- port: 3306
13+
as: 3306
14+
to:
15+
- service: db
16+
codimd:
17+
image: hackmdio/hackmd:2.4.1
18+
env:
19+
- CMD_DB_URL=postgres://codimd:change_password@database/codimd
20+
- CMD_USECDN=false
21+
depends-on:
22+
- db
23+
expose:
24+
- port: 3000
25+
as: 3000
26+
to:
27+
- global: true
28+
29+
profiles:
30+
compute:
31+
db:
32+
resources:
33+
cpu:
34+
units: 0.5
35+
memory:
36+
size: 512Mi
37+
storage:
38+
size: 512Mi
39+
codimd:
40+
resources:
41+
cpu:
42+
units: 0.5
43+
memory:
44+
size: 512Mi
45+
storage:
46+
size: 1Gi
47+
placement:
48+
westcoast:
49+
attributes:
50+
host: akash
51+
signedBy:
52+
anyOf:
53+
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
54+
pricing:
55+
db:
56+
denom: uakt
57+
amount: 5000
58+
codimd:
59+
denom: uakt
60+
amount: 5000
61+
62+
deployment:
63+
db:
64+
westcoast:
65+
profile: db
66+
count: 1
67+
codimd:
68+
westcoast:
69+
profile: codimd
70+
count: 1

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ Awesome DeFi apps you can deploy on Akash
148148
- [dart-hello](dart)
149149
- [Matomo](matomo)
150150
- [Zammad](zammad)
151+
- [CodiMD](CodiMD)
151152
- [KnowYourDeFi](knowyourdefi)
152153
- [Code-Server](code-server)
153154

0 commit comments

Comments
 (0)