Skip to content

Commit 168f7c0

Browse files
committed
Work-in-progress: Add customization for Kubo and block ISP KPN
Problems: - Node operators receive abuse letters from KPN.com - Kubo configuration can be customized for Core Channel Node operations
1 parent dc8a47e commit 168f7c0

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

deployment/docker-build/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ services:
5555
- "127.0.0.1:8080:8080"
5656
volumes:
5757
- "pyaleph-ipfs:/data/ipfs"
58+
- "./kubo.json:/etc/kubo.json:ro"
5859
environment:
5960
- IPFS_PROFILE=server
6061
networks:
6162
- pyaleph
62-
command: ["daemon", "--enable-pubsub-experiment", "--migrate"]
63+
command: ["daemon", "--enable-pubsub-experiment", "--migrate", "--config-file",
64+
"/etc/kubo.json"]
6365

6466
postgres:
6567
restart: always

deployment/docker-build/kubo.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"AutoNAT": {
3+
"ServiceMode": "enabled"
4+
},
5+
"AddrFilters": [
6+
"/ip4/86.84.0.0/ipcidr/16"
7+
],
8+
"Reprovider": {
9+
"Strategy": "pinned"
10+
},
11+
"Swarm": {
12+
"EnableHolePunching":true,
13+
"RelayService": {
14+
"Enabled": false
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)