-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
1 deletion.
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
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,8 @@ | ||
FROM ubuntu:22.04 | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y curl wget tar jq && \ | ||
rm -rf /var/lib/apt/lists/* | ||
COPY ./init.sh / | ||
RUN chmod +x /init.sh | ||
CMD ["/init.sh"] |
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,13 @@ | ||
# Deploy CJDNS PKT node on Akash Network | ||
|
||
| A quick guide to deploying a `cjdns` **PKT** node using the **Akash Network**. | ||
|
||
### Step 1. | ||
Set unique values for network endpoint (line 4 and 21) and `CJDNS_PEERID` variable. Them you can create deployment. | ||
|
||
### Step 2. | ||
Got to "Leases" tab and copy socket received from the provider. Them, on "Update" tab, paste socket to `CJDNS_IPV4` and press on "Update Deployment" | ||
|
||
### Step 3. | ||
|
||
Check [dashboard](https://vinny.cjdns.fr/ptest/), after few minutes you can see actual status your node. |
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,5 @@ | ||
{ | ||
"$schema": "../config.schema.json", | ||
"ssh": false, | ||
"logoUrl": "https://raw.githubusercontent.com/akash-network/awesome-akash/master/cjdns-pkt/pkt.png" | ||
} |
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,42 @@ | ||
--- | ||
version: "2.0" | ||
endpoints: | ||
cjdns_endpoint_name: # UNIQUE name, for example "cjdns_dimokus:", and enter this name in line 21. | ||
kind: ip | ||
services: | ||
cjdns: | ||
image: "declab/cjdns:0.1@sha256:252a1886c3b293fe5dd59fa32cb2b3320d612e3c8c7f7b150602880ec2a29ddb" | ||
env: | ||
- "CJDNS_PEERID=PUB_Node_Name" # Peer ID or node name. | ||
- "CJDNS_PORT=3479" | ||
- "CJDNS_SETUSER=0" | ||
- "CJDNS_IPV6=false" | ||
- "CJDNS_IPV4=" # Public socket received from the provider, example: "CJDNS_IPV4=123.123.123.123:3479" | ||
expose: | ||
- port: 3479 | ||
as: 3479 | ||
proto: udp | ||
to: | ||
- global: true | ||
ip: cjdns_endpoint_name # Name from string 4, for example "cjdns_dimokus" | ||
profiles: | ||
compute: | ||
cjdns: | ||
resources: | ||
cpu: | ||
units: 1 | ||
memory: | ||
size: 1Gi | ||
storage: | ||
- size: 1Gi | ||
placement: | ||
dcloud: | ||
pricing: | ||
cjdns: | ||
denom: uakt | ||
amount: 10000 | ||
deployment: | ||
cjdns: | ||
dcloud: | ||
profile: cjdns | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
if [ -z "$CJDNS_IPV4" ] | ||
then | ||
echo Public IP is empty! Set socket "CJDNS_IPV4" in SDL and update deployment! | ||
tail -f /dev/null | ||
fi | ||
wget -O ./cjdns.sh https://pkt.cash/special/cjdns/cjdns.sh ; chmod +x ./cjdns.sh | ||
./cjdns.sh exec |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"$schema": "../config.schema.json", | ||
"ssh": false, | ||
"logoUrl": "https://raw.githubusercontent.com/akash-network/awesome-akash/master/wxmrig-c11/xmrminer.png" | ||
"logoUrl": "https://raw.githubusercontent.com/akash-network/awesome-akash/master/xmrig-c11/xmrminer.png" | ||
} |