Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cyberfly node to akash deployment template #605

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cyberfly/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# cyberfly-node

### Generate Keypair

1. visit https://kadena-community.github.io/kadena-tools/ and click generate keypair button. save that file somewhere safely for future use. copy private key.
2. replace your_node_private_key with generated private key and replace your k:your_kadena_address with you wallet address

### Important Note

Note: please don't enter your wallet's (main wallet) private key. you should use newly generated one.
5 changes: 5 additions & 0 deletions cyberfly/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "../config.schema.json",
"ssh": false,
"logoUrl": "https://raw.githubusercontent.com/akash-network/awesome-akash/master/cyberfly/cyberfly.png"
}
Binary file added cyberfly/cyberfly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions cyberfly/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
version: "2.0"

services:
cyberflynodeui:
image: cyberfly/cyberfly_node_ui:latest
expose:
- port: 80
as: 31000
to:
- global: true

cyberflynode:
image: cyberfly/cyberfly_node:latest
expose:
- port: 31001
to:
- global: true
- port: 31002
to:
- global: true
- port: 31003
to:
- global: true
env:
- KADENA_ACCOUNT=k:your_kadena_address
- NODE_PRIV_KEY=your_node_private_key
- MQTT_HOST=mqtt://cyberflymqtt
- REDIS_HOST=redisstackserver
depends_on:
- cyberflymqtt
- redisstackserver

cyberflymqtt:
image: cyberfly/cyberfly_mqtt:latest
expose:
- port: 1883
as: 31004
to:
- global: true
- port: 9001
as: 31005
to:
- global: true

redisstackserver:
image: redis/redis-stack-server:latest

profiles:
compute:
cyberflynodeui:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 512Mi
cyberflynode:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 5Gi
cyberflymqtt:
resources:
cpu:
units: 0.5
memory:
size: 512Mi
storage:
size: 512Mi
redisstackserver:
resources:
cpu:
units: 0.5
memory:
size: 1Gi
storage:
size: 2Gi

placement:
dcloud:
pricing:
cyberflynodeui:
denom: uakt
amount: 1000
cyberflynode:
denom: uakt
amount: 2000
cyberflymqtt:
denom: uakt
amount: 1000
redisstackserver:
denom: uakt
amount: 1000