Skip to content

Commit 73b1a80

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 cad2d9c commit 73b1a80

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

deployment/docker-build/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ services:
5252
- "127.0.0.1:8080:8080"
5353
volumes:
5454
- "pyaleph-ipfs:/data/ipfs"
55+
- "./kubo.json:/etc/kubo.json:ro"
5556
environment:
5657
- IPFS_PROFILE=server
5758
networks:
5859
- pyaleph
59-
command: ["daemon", "--enable-pubsub-experiment", "--migrate"]
60+
command: ["daemon", "--enable-pubsub-experiment", "--migrate", "--config-file", "/etc/kubo.json"]
6061

6162
postgres:
6263
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)