hyperledger / firefly-cli

FireFly Command Line Interface (CLI)
Apache License 2.0
57 stars 52 forks source link

firefly docker compose stack through a corporate proxy having problems #302

Closed rodion-lim-partior closed 2 months ago

rodion-lim-partior commented 4 months ago

The current docker compose stack generated by ff init inherits the docker proxy settings directly from the host. This causes intercommunication between the containers to fail since the proxy is unable to resolve the DNS names of the compose containers properly. While it is possible to configure the variables at the host/docker service level, this causes other docker containers outside of the compose to have issues.

Would it be possible to have generic flag in the firefly CLI to allow the setting of generic environment variables across all containers within the docker compose? One potential use case would be to unset HTTP_PROXY variable. I'll be happy to work on this PR.