forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Readme.md * Create deploy.yaml * Update deploy.yaml * Update README.md Co-authored-by: Adam Bozanich <[email protected]>
- Loading branch information
1 parent
7ee6b10
commit aac4dea
Showing
3 changed files
with
73 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
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. |
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,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 |
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