forked from jupyter/kernel_gateway_demos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (32 loc) · 937 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (32 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
---
version: "2"
services:
nginx:
build:
context: .
dockerfile: Dockerfile.nginx
image: jupyter/kernel-gateway-nginx
ports:
- "8080:80" # for testing proxied access to the kernel gateway from outside docker
depends_on:
- kernel_gateway
kernel_gateway:
build:
context: .
dockerfile: Dockerfile.kg
image: jupyter/kernel-gateway
ports:
- "8888:8888" # for testing direct access to the kernel gateway from outside docker
environment:
KG_ALLOW_ORIGIN: '*'
client:
build:
context: .
dockerfile: Dockerfile.client
environment:
BASE_GATEWAY_HTTP_URL: http://nginx/jupyter/v1/12345678-1234-1234-1234-123456789012
BASE_GATEWAY_WS_URL: ws://nginx/jupyter/v1/12345678-1234-1234-1234-123456789012
depends_on:
- nginx