Browse Source

expose tcp port 8080 (http gateway)

Fabian Peter Hammerle 5 years ago
parent
commit
b7a79c67fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -28,5 +28,7 @@ RUN wget -O- https://dist.ipfs.io/go-ipfs/v${IPFS_VERSION}/go-ipfs_v${IPFS_VERSI
 
 USER ipfs
 EXPOSE 4001/tcp
+# ipfs http gateway
+EXPOSE 8080/tcp
 ENV IPFS_INIT_PROFILE server
 CMD ["ipfs", "daemon", "--init", "--init-profile", "$IPFS_INIT_PROFILE"]