diff --git a/cyberfly/README.md b/cyberfly/README.md new file mode 100644 index 00000000..2a30b8f4 --- /dev/null +++ b/cyberfly/README.md @@ -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. diff --git a/cyberfly/config.json b/cyberfly/config.json new file mode 100644 index 00000000..c58f8de0 --- /dev/null +++ b/cyberfly/config.json @@ -0,0 +1,5 @@ +{ + "$schema": "../config.schema.json", + "ssh": false, + "logoUrl": "https://raw.githubusercontent.com/akash-network/awesome-akash/master/cyberfly/cyberfly.png" + } \ No newline at end of file diff --git a/cyberfly/cyberfly.png b/cyberfly/cyberfly.png new file mode 100644 index 00000000..df64a0a4 Binary files /dev/null and b/cyberfly/cyberfly.png differ diff --git a/cyberfly/deploy.yaml b/cyberfly/deploy.yaml new file mode 100644 index 00000000..47a6e38b --- /dev/null +++ b/cyberfly/deploy.yaml @@ -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 \ No newline at end of file