Skip to content

Commit

Permalink
big refactor (akash-network#216)
Browse files Browse the repository at this point in the history
* big refactor

- removed signedBy fields as this is up to the people to decide as well
  as to make sure people stop copying it, hence letting new non-Akash providers fill with new deployments :-)

- changed max accepted pricing to 100uakt as it seem to be more reasonable (i.e. 43.8
  AKT/month);

Cosmetics:

- renamed westcoast to akash;

- renamed .yml to .yaml;

* refactor: set better service names

web is too common, it's better to have more meaningful service names.

this can also be used to for viewing better statistics when parsing the
Akash blockchain ;)

* get signedBy back

due to a comprehensive auditor framework in the works as per Adam Bozanich
  • Loading branch information
arno01 authored Oct 28, 2021
1 parent 3d64048 commit 6a4fe2a
Show file tree
Hide file tree
Showing 87 changed files with 652 additions and 766 deletions.
20 changes: 9 additions & 11 deletions Dharani/dharani.yaml → Dharani/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"

services:
web:
dharani:
image: saisunkari19/dharani:1.0
expose:
- port: 80
Expand All @@ -14,28 +14,26 @@ services:

profiles:
compute:
web:
dharani:
resources:
cpu:
units: 1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
dharani:
denom: uakt
amount: 1000
amount: 100

deployment:
web:
westcoast:
profile: web
dharani:
akash:
profile: dharani
count: 1
10 changes: 4 additions & 6 deletions Grav/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,23 @@ profiles:
grav:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
grav:
denom: uakt
amount: 300
amount: 100

deployment:
grav:
westcoast:
akash:
profile: grav
count: 1
20 changes: 9 additions & 11 deletions MemoryGame/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"

services:
web:
memorygame:
image: jungpilyu/memorygame
expose:
- port: 80
Expand All @@ -11,28 +11,26 @@ services:
- global: true
profiles:
compute:
web:
memorygame:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 2Gi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
memorygame:
denom: uakt
amount: 9000
amount: 100

deployment:
web:
westcoast:
profile: web
memorygame:
akash:
profile: memorygame
count: 1
20 changes: 9 additions & 11 deletions MyEtherWallet/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"

services:
web:
myetherwallet:
image: jialei12138/myetherwallet:latest
expose:
- port: 80
Expand All @@ -12,28 +12,26 @@ services:

profiles:
compute:
web:
myetherwallet:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
myetherwallet:
denom: uakt
amount: 1000
amount: 100

deployment:
web:
westcoast:
profile: web
myetherwallet:
akash:
profile: myetherwallet
count: 1
10 changes: 4 additions & 6 deletions MySQL/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ profiles:
mysql:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
mysql:
denom: uakt
amount: 3000
amount: 100
deployment:
mysql:
westcoast:
akash:
profile: mysql
count: 1
20 changes: 9 additions & 11 deletions Periodic-Table-Creator/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"

services:
web:
perio:
image: perioo/perio:v1
expose:
- port: 8501
Expand All @@ -12,28 +12,26 @@ services:

profiles:
compute:
web:
perio:
resources:
cpu:
units: 0.5
units: 1.0
memory:
size: 512Mi
storage:
size: 1512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
perio:
denom: uakt
amount: 3000
amount: 100

deployment:
web:
westcoast:
profile: web
perio:
akash:
profile: perio
count: 1
18 changes: 8 additions & 10 deletions Thorchain-BEPSwap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ docker push $IMAGE
## Create the Deployment
Create a deployment configuration [thorchain.yml](deploy.yml) to deploy the `edouardl/thorchain-bepswap-web-ui` for [ThorChain BEPSwap Web UI](https://github.com/thorchain/bepswap-web-ui) Node JS app container using [SDL](https://docs.akash.network/documentation/sdl):
Create a deployment configuration [thorchain.yaml](deploy.yaml) to deploy the `edouardl/thorchain-bepswap-web-ui` for [ThorChain BEPSwap Web UI](https://github.com/thorchain/bepswap-web-ui) Node JS app container using [SDL](https://docs.akash.network/documentation/sdl):
```sh
cat > thorchain.yml <<EOF
cat > thorchain.yaml <<EOF
---
version: "2.0"
Expand All @@ -171,26 +171,24 @@ profiles:
web:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
denom: uakt
amount: 3000
amount: 100
deployment:
web:
westcoast:
akash:
profile: web
count: 1
Expand All @@ -208,7 +206,7 @@ Please note if you are running on the testnet, you are limited in the amount of
To deploy on Akash, run:
```sh
akash tx deployment create thorchain.yml --from $KEY_NAME --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --fees 5000uakt -y
akash tx deployment create thorchain.yaml --from $KEY_NAME --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --fees 5000uakt -y
```
In this step, you post your deployment, the Akash marketplace matches you with a provider via auction. To create a deployment use akash deployment. The syntax for the deployment is `akash tx deployment create <config-path> --from <key-name>`.
Expand Down Expand Up @@ -262,7 +260,7 @@ akash1uu8wfvxscqt7ax89hjkxral0r2k73c6ee97dzn 160398 1 1
Upload the manifest using the values from above step:
```sh
akash provider send-manifest thorchain.yml --node $AKASH_NODE --dseq $DSEQ --oseq $OSEQ --gseq $GSEQ --owner $ACCOUNT_ADDRESS --provider $PROVIDER
akash provider send-manifest thorchain.yaml --node $AKASH_NODE --dseq $DSEQ --oseq $OSEQ --gseq $GSEQ --owner $ACCOUNT_ADDRESS --provider $PROVIDER
```
Your image is now deployed, once you uploaded the manifest. You can retrieve the access details by running the below:
Expand Down
22 changes: 10 additions & 12 deletions Thorchain-BEPSwap/thorchain.yml → Thorchain-BEPSwap/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
version: "2.0"

services:
web:
image: edouardl/thorchain-bepswap-web-ui
thorchain:
image: edouardl/thorchain-bepswap-thorchain-ui
expose:
- port: 5000
as: 80
Expand All @@ -12,28 +12,26 @@ services:

profiles:
compute:
web:
thorchain:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
thorchain:
denom: uakt
amount: 3000
amount: 100

deployment:
web:
westcoast:
profile: web
thorchain:
akash:
profile: thorchain
count: 1
20 changes: 9 additions & 11 deletions Yearn.finance/deploy-yearn.yml → Yearn.finance/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"

services:
web:
yearn:
image: halw001/yearn:0.1
expose:
- port: 80
Expand All @@ -12,28 +12,26 @@ services:

profiles:
compute:
web:
yearn:
resources:
cpu:
units: 0.1
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
organization: ovrclk.com
akash:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
yearn:
denom: uakt
amount: 1000
amount: 100

deployment:
web:
westcoast:
profile: web
yearn:
akash:
profile: yearn
count: 1
Loading

0 comments on commit 6a4fe2a

Please sign in to comment.