Skip to content

Commit

Permalink
docker: More convenient access to ipfs commands
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
  • Loading branch information
kpcyrd committed Jan 7, 2017
1 parent 56058c1 commit 6f1e752
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ VOLUME $IPFS_PATH
# 1. There's an fs-repo, and initializes one if there isn't.
# 2. The API and Gateway are accessible from outside the container.
ENTRYPOINT ["/usr/local/bin/start_ipfs"]
CMD ["daemon"]
1 change: 1 addition & 0 deletions Dockerfile.fast
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ RUN cd $SRC_PATH \
USER ipfs
VOLUME $IPFS_PATH
ENTRYPOINT ["/usr/local/bin/start_ipfs"]
CMD ["daemon"]
2 changes: 1 addition & 1 deletion bin/container_daemon
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ else
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
fi

exec ipfs daemon "$@"
exec ipfs "$@"

0 comments on commit 6f1e752

Please sign in to comment.