Skip to content
Merged
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
4 changes: 2 additions & 2 deletions deployment/docker-build/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
pyaleph:
# platform: linux/amd64
restart: always
# image: alephim/pyaleph-node:0.5.8
# image: alephim/pyaleph-node:0.8.0
image: localhost/alephim/pyaleph-node-dev:build
build:
dockerfile: ./deployment/docker-build/dev/Dockerfile
Expand All @@ -35,7 +35,7 @@ services:
pyaleph-api:
# platform: linux/amd64
restart: always
# image: alephim/pyaleph-node:0.5.8
# image: alephim/pyaleph-node:0.8.0
image: localhost/alephim/pyaleph-node:build
build:
dockerfile: ./deployment/docker-build/dev/Dockerfile
Expand Down
15 changes: 12 additions & 3 deletions deployment/docker-build/dev/kubo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
"Strategy": "pinned"
},
"Routing": {
"Type": "dhtclient",
"AcceleratedDHTClient": true
"Type": "dhtserver"
},
"Bootstrap": [
"/ip4/51.159.57.71/tcp/4001/p2p/12D3KooWSdcuGvLfXgc6BPgDEqWYQirGpBWUmyXRwK5RmyM1T7Di",
"/ip4/46.255.204.209/tcp/4001/p2p/12D3KooWHWNCn8t9NKQPBPZU61Fq6BoVw9XV37YsWTuMLwZXrEtj",
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
],
"Datastore": {
"StorageMax": "1500GB",
"GCPeriod": "12h"
},
"Swarm": {
"EnableHolePunching":true,
"RelayService": {
"Enabled": false
}
},
"AddrFilters": [
"/ip4/86.84.0.0/ipcidr/16"
]
}
}
15 changes: 12 additions & 3 deletions deployment/docker-build/kubo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
"Strategy": "pinned"
},
"Routing": {
"Type": "dhtclient",
"AcceleratedDHTClient": true
"Type": "dhtserver"
},
"Bootstrap": [
"/ip4/51.159.57.71/tcp/4001/p2p/12D3KooWSdcuGvLfXgc6BPgDEqWYQirGpBWUmyXRwK5RmyM1T7Di",
"/ip4/46.255.204.209/tcp/4001/p2p/12D3KooWHWNCn8t9NKQPBPZU61Fq6BoVw9XV37YsWTuMLwZXrEtj",
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
],
"Datastore": {
"StorageMax": "1500GB",
"GCPeriod": "12h"
},
"Swarm": {
"EnableHolePunching":true,
"RelayService": {
"Enabled": false
}
},
"AddrFilters": [
"/ip4/86.84.0.0/ipcidr/16"
]
}
}
15 changes: 12 additions & 3 deletions deployment/docker-build/test/kubo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
"Strategy": "pinned"
},
"Routing": {
"Type": "dhtclient",
"AcceleratedDHTClient": true
"Type": "dhtserver"
},
"Bootstrap": [
"/ip4/51.159.57.71/tcp/4001/p2p/12D3KooWSdcuGvLfXgc6BPgDEqWYQirGpBWUmyXRwK5RmyM1T7Di",
"/ip4/46.255.204.209/tcp/4001/p2p/12D3KooWHWNCn8t9NKQPBPZU61Fq6BoVw9XV37YsWTuMLwZXrEtj",
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
],
"Datastore": {
"StorageMax": "1500GB",
"GCPeriod": "12h"
},
"Swarm": {
"EnableHolePunching":true,
"RelayService": {
"Enabled": false
}
},
"AddrFilters": [
"/ip4/86.84.0.0/ipcidr/16"
]
}
}
4 changes: 2 additions & 2 deletions deployment/samples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ volumes:
services:
pyaleph:
restart: always
image: alephim/pyaleph-node:0.7.4
image: alephim/pyaleph-node:0.8.0
command: --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -v
volumes:
- ./config.yml:/opt/pyaleph/config.yml
Expand All @@ -30,7 +30,7 @@ services:

pyaleph-api:
restart: always
image: alephim/pyaleph-node:0.7.4
image: alephim/pyaleph-node:0.8.0
command: --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -v
entrypoint: ["bash", "deployment/scripts/run_aleph_ccn_api.sh"]
ports:
Expand Down
15 changes: 12 additions & 3 deletions deployment/samples/docker-compose/kubo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
"Strategy": "pinned"
},
"Routing": {
"Type": "dhtclient",
"AcceleratedDHTClient": true
"Type": "dhtserver"
},
"Bootstrap": [
"/ip4/51.159.57.71/tcp/4001/p2p/12D3KooWSdcuGvLfXgc6BPgDEqWYQirGpBWUmyXRwK5RmyM1T7Di",
"/ip4/46.255.204.209/tcp/4001/p2p/12D3KooWHWNCn8t9NKQPBPZU61Fq6BoVw9XV37YsWTuMLwZXrEtj",
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN",
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
],
"Datastore": {
"StorageMax": "1500GB",
"GCPeriod": "12h"
},
"Swarm": {
"EnableHolePunching":true,
"RelayService": {
"Enabled": false
}
},
"AddrFilters": [
"/ip4/86.84.0.0/ipcidr/16"
]
}
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,5 @@


rst_epilog = """
.. |pyaleph_version| replace:: 0.7.4
.. |pyaleph_version| replace:: 0.8.0
"""
6 changes: 3 additions & 3 deletions docs/guides/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ To check that the generation of the keys succeeded, check the content of your ke
3. Run the node with Docker Compose
===================================

Download the Docker Compose file that defines how to run PyAleph and IPFS together.
Download the Kubo config file and Docker Compose file that defines how to run PyAleph and IPFS together.

.. parsed-literal::

wget "https://raw.githubusercontent.com/aleph-im/pyaleph/main/deployment/samples/docker-compose/docker-compose.yml"
wget "https://raw.githubusercontent.com/aleph-im/pyaleph/|pyaleph_version|/deployment/samples/docker-compose/kubo.json"
wget "https://raw.githubusercontent.com/aleph-im/pyaleph/|pyaleph_version|/deployment/samples/docker-compose/docker-compose.yml"

At this stage, you will need your configuration file and your keys.
Check the configuration section to see how you can generate them.
Expand Down
Loading