Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Set hostname and port through environment variable #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

christaina
Copy link

Hi,

This is a small change where master_host and master_port are read from optional environment variables (if they are not present behavior stays the same). In our use case we need to specify both the host and port because we are running dist-keras on Docker. I thought it would be useful for others who are using Docker or in the case where the Spark master is running in a container. For us using environment variables rather than passing these in as parameters makes more sense because we don't want everyone using this package in our system to have to worry about this. Hope this is helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant