We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef726c4 commit 131af3dCopy full SHA for 131af3d
1 file changed
nitric/config/default_settings.py
@@ -16,10 +16,9 @@
16
# See the License for the specific language governing permissions and
17
# limitations under the License.
18
#
19
+import os
20
21
# Provides a set of default settings that env vars can replace
-
22
# Nitric Membrane Service Address
23
-SERVICE_BIND = "127.0.0.1:50051"
24
-# Child Process (User Code) Host Address
25
-CHILD_ADDRESS = "127.0.0.1:8080"
+SERVICE_BIND = os.environ.get('SERVICE_ADDRESS', '127.0.0.1:50051');
+
0 commit comments