Explorar o código

expose tcp port 8080 (http gateway)

Fabian Peter Hammerle %!s(int64=5) %!d(string=hai) anos
pai
achega
b7a79c67fc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"]