Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configure helia with env vars #28

Merged

Conversation

SgtPooki
Copy link
Member

  • feat: configure helia with env-vars

See README.md for explanations, but here's a snippet:

Supported Environment Variables

Variable Description Default
DEBUG Debug level ''
PORT Port to listen on 8080
HOST Host to listen on 0.0.0.0
USE_BITSWAP Use bitswap to fetch content from IPFS true
USE_TRUSTLESS_GATEWAYS Whether to fetch content from trustless-gateways or not true
TRUSTLESS_GATEWAYS Comma separated list of trusted gateways to fetch content from Defined in Helia
USE_LIBP2P Whether to use libp2p networking true

@SgtPooki SgtPooki changed the base branch from main to feat/docker-image-improvements October 24, 2023 02:47
src/heliaServer.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@whizzzkid whizzzkid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor change,

src/getCustomHelia.ts Outdated Show resolved Hide resolved
src/heliaFetch.ts Outdated Show resolved Hide resolved
whizzzkid and others added 4 commits October 23, 2023 21:20
Signed-off-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
Co-authored-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
Copy link
Contributor

@whizzzkid whizzzkid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@SgtPooki SgtPooki merged commit 9a8e954 into feat/docker-image-improvements Oct 24, 2023
1 check passed
@SgtPooki SgtPooki deleted the feat/helia-config-via-env-vars branch October 24, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants