mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 20:42:57 +00:00
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:
7
minimal-kernel/jupyter_kernel_gateway_config.py
Normal file
7
minimal-kernel/jupyter_kernel_gateway_config.py
Normal 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)
|
Reference in New Issue
Block a user