apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
168 stars 32 forks source link

`--allow-net` flag is impossible to set with env? #312

Closed fracek closed 6 months ago

fracek commented 6 months ago

Describe the bug

I want to set the --allow-net flag from environment (e.g. in a container), but setting ALLOW_NET="" results in an empty hostname.

To Reproduce

Expected behavior

The indexer should interpret an empty string as an empty list of hosts.

Additional context

Add any other context about the problem here.