New docker stack for a headless kernel. It uses the new kernel gateway to provide websocket access without exposing the whole notebook UI.

Contribution (c) Copyright IBM Corp. 2015
This commit is contained in:
Michael Poplavski
2015-10-09 12:35:16 -05:00
parent c922d1f83e
commit 5f4d8225c0
4 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# Copyright (c) Jupyter Development Team.
import os
c = get_config()
c.KernelGatewayApp.ip = os.getenv('INTERFACE', '') or '0.0.0.0'
c.KernelGatewayApp.port = int(os.getenv('PORT', '') or 8888)