Skip to content

Instantly share code, notes, and snippets.

@sophoah
Last active December 16, 2020 07:54
Show Gist options
  • Save sophoah/5e773c02624869c2fddc4eeb6c5486d2 to your computer and use it in GitHub Desktop.
Save sophoah/5e773c02624869c2fddc4eeb6c5486d2 to your computer and use it in GitHub Desktop.
harmony / akash
---
version: "2.0"
services:
harmony:
image: harmonyone/node
env:
- TEST=test
expose:
- port: 9500
as: 9500
to:
- global: true
- port: 6000
as: 6000
to:
- global: true
- port: 9000
as: 9000
to:
- global: true
profiles:
compute:
harmony:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 5Gi
placement:
westcoast:
attributes:
organization: ovrclk.com
signedBy:
anyOf:
- "akash1vz375dkt0c60annyp6mkzeejfq0qpyevhseu05"
pricing:
harmony:
denom: uakt
amount: 1000
deployment:
harmony:
westcoast:
profile: harmony
count: 1
akash provider lease-status --node $AKASH_NODE --dseq $DSEQ --oseq $OSEQ --gseq $GSEQ --provider $PROVIDER --owner $ACCOUNT_ADDRESS
{
"services": {
"harmony": {
"name": "harmony",
"available": 0,
"total": 1,
"uris": null,
"observed-generation": 0,
"replicas": 0,
"updated-replicas": 0,
"ready-replicas": 0,
"available-replicas": 0
}
},
"forwarded-ports": {
"harmony": [
{
"port": 6000,
"externalPort": 30328,
"proto": "TCP",
"available": 0,
"name": "harmony"
},
{
"port": 9000,
"externalPort": 31363,
"proto": "TCP",
"available": 0,
"name": "harmony"
},
{
"port": 9500,
"externalPort": 30949,
"proto": "TCP",
"available": 0,
"name": "harmony"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment