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
ipfs-cluster docker container is not reachable #1094
Comments
|
Hello, you need to set environment variable: It did this in the past, but since everything is controllable with env vars, we don't do it anymore. |
|
Thank you @hsanjuan but, better to handle it from a script like ipfs |
|
what about proxy and swarm endpoints ? |
IPFS does it in a script because it cannot understand env vars. It is much better to do env vars, particularly for any kind of cloud deployment. You can nevertheless replace the entrypoint with whatever script you like. The proxy and swarm endpoints work the same way with env vars: https://cluster.ipfs.io/documentation/reference/configuration/#using-environment-variables-to-overwrite-configuration-values |
|
@hsanjuan I tried it by setting ENV variables
still its failing to connect |
|
I'm suing Kubernetes node port service type |
|
@hsanjuan why that environment variable not set in docker https://github.com/ipfs/ipfs-cluster/blob/master/Dockerfile |
|
Please ask in discuss.ipfs.io. This is not an issue with the codebase and I tried myself and things work as expected with Docker |
|
its not a discussion @hsanjuan |
pontiyaraja commentedApr 27, 2020
Additional information:
Describe the bug:
**> The API configuration in service.json file is not updating the REST API Listner to 0.0.0.0/tcp/9094
@hsanjuan
The text was updated successfully, but these errors were encountered: