-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nishant Arora <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# helia-docker | ||
# helia-docker | ||
|
||
Docker images for Helia. | ||
|
||
## Purpose | ||
|
||
This container image hosts helia in a node container. It implements [HTTP IPFS-gateway API](https://docs.ipfs.tech/concepts/ipfs-gateway/#gateway-types) and responds to the incoming requests using helia to fetch the content from IPFS. | ||
|
||
## Building | ||
|
||
```sh | ||
$ docker build . --tag helia | ||
``` | ||
|
||
Pass the explicit platform when building on a Mac. | ||
|
||
```sh | ||
$ docker build . --tag helia --platform linux/arm64 | ||
``` | ||
|
||
Building with custom CMAKE flags. | ||
|
||
```sh | ||
$ docker build . --tag helia --build-arg CMAKE_CXX_FLAGS="..." --build-arg CMAKE_C_FLAGS="..." | ||
``` | ||
|
||
## Running | ||
|
||
```sh | ||
$ docker run -it -p 8080:8080 helia | ||
``` | ||
|
||
## Author | ||
|
||
- [whizzzkid](https://github.com/whizzzkid) |