We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be3dbc2 commit 816a128Copy full SHA for 816a128
docker-compose.yaml
@@ -10,11 +10,18 @@ services:
10
environment:
11
- IPFS_PATH=/data/ipfs
12
ports:
13
+ # Swarm listens on all interfaces, so is remotely reachable.
14
- 4001:4001/tcp
15
- 4001:4001/udp
- - 5001:5001
16
- - 8080:8080
17
- - 8081:8081
+
+ # The following ports only listen on the loopback interface, so are not remotely reachable by default.
18
+ # If you want to override these or add more ports, see https://docs.docker.com/compose/extends/ .
19
20
+ # API port, which includes admin operations, so you probably don't want this remotely accessible.
21
+ - 127.0.0.1:5001:5001
22
23
+ # HTTP Gateway
24
+ - 127.0.0.1:8080:8080
25
volumes:
26
ipfs_path:
27
ipfs_fuse:
0 commit comments