forked from ITISFoundation/osparc-simcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
114 lines (113 loc) · 5.99 KB
/
docker-compose.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: '3.6'
services:
jupyter-base-notebook:
image: ${DOCKER_REGISTRY}/${SERVICE_BASE_PATH}:${SERVICES_VERSION}
build:
context: ../../
dockerfile: services/dy-jupyter/Dockerfile
target: production
args:
BASE_IMAGE: jupyter/base-notebook
INSTALL_PYTHON2: 1
labels:
io.simcore.key: '{"key": "${SERVICE_BASE_PATH}"}'
io.simcore.version: '{"version": "${SERVICES_VERSION}"}'
io.simcore.type: '{"type": "dynamic"}'
io.simcore.name: '{"name": "jupyter-base-notebook"}'
io.simcore.description: '{"description": "Jupyter notebook"}'
io.simcore.authors: '{"authors": [{"name": "sanderegg", "email": "anderegg@itis.swiss", "affiliation": "ITIS Foundation"}]}'
io.simcore.contact: '{"contact": "anderegg@itis.swiss"}'
io.simcore.inputs: '{"inputs": {
"input_1":{"label": "input 1", "displayOrder":0, "description": "Input 1", "type": "data:*/*"},
"input_2":{"label": "input 2", "displayOrder":1, "description": "Input 2", "type": "data:*/*"}
}}'
io.simcore.outputs: '{"outputs": {
"output_1":{"label": "output 1", "displayOrder":0, "description": "Output 1", "type": "data:*/*"},
"output_2":{"label": "output 2", "displayOrder":1, "description": "Output 2", "type": "data:*/*"}
}}'
simcore.service.settings: '[
{"name": "resources", "type": "Resources", "value": {"mem_limit":17179869184, "cpu_limit": 4000000000}},
{"name": "ports", "type": "int", "value": 8888},
{"name": "constraints", "type": "string", "value": ["node.platform.os == linux"]}]'
# simcore.service.bootsettings: '[
# {"name": "entry_point", "type": "string", "value": "?token=simcore"}]'
org.label-schema.schema-version: "1.0"
org.label-schema.build-date: "${BUILD_DATE}"
org.label-schema.vcs-url: "https://github.com/ITISFoundation/osparc-simcore"
org.label-schema.vcs-ref: "${VCS_REF}"
ports:
- '8888:8888'
jupyter-scipy-notebook:
image: ${DOCKER_REGISTRY}/${SERVICE_SCIPY_PATH}:${SERVICES_VERSION}
build:
context: ../../
dockerfile: services/dy-jupyter/Dockerfile
target: production
args:
BASE_IMAGE: jupyter/scipy-notebook
INSTALL_PYTHON2: 1
labels:
io.simcore.key: '{"key": "${SERVICE_SCIPY_PATH}"}'
io.simcore.version: '{"version": "${SERVICES_VERSION}"}'
io.simcore.type: '{"type": "dynamic"}'
io.simcore.name: '{"name": "jupyter-scipy-notebook"}'
io.simcore.description: '{"description": "Jupyter scipy notebook"}'
io.simcore.authors: '{"authors": [{"name": "sanderegg", "email": "anderegg@itis.swiss", "affiliation": "ITIS Foundation"}]}'
io.simcore.contact: '{"contact": "anderegg@itis.swiss"}'
io.simcore.inputs: '{"inputs": {
"input_1":{"label": "input 1", "displayOrder":0, "description": "Input 1", "type": "data:*/*"},
"input_2":{"label": "input 2", "displayOrder":1, "description": "Input 2", "type": "data:*/*"}
}}'
io.simcore.outputs: '{"outputs": {
"output_1":{"label": "output 1", "displayOrder":0, "description": "Output 1", "type": "data:*/*"},
"output_2":{"label": "output 2", "displayOrder":1, "description": "Output 2", "type": "data:*/*"}
}}'
simcore.service.settings: '[
{"name": "resources", "type": "Resources", "value": {"mem_limit":17179869184, "cpu_limit": 4000000000}},
{"name": "ports", "type": "int", "value": 8888},
{"name": "constraints", "type": "string", "value": ["node.platform.os == linux"]}]'
# simcore.service.bootsettings: '[
# {"name": "entry_point", "type": "string", "value": "?token=${NOTEBOOK_TOKEN}"}]'
org.label-schema.schema-version: "1.0"
org.label-schema.build-date: "${BUILD_DATE}"
org.label-schema.vcs-url: "https://github.com/ITISFoundation/osparc-simcore"
org.label-schema.vcs-ref: "${VCS_REF}"
ports:
- '8889:8888'
jupyter-r-notebook:
image: ${DOCKER_REGISTRY}/${SERVICE_R_PATH}:${SERVICES_VERSION}
build:
context: ../../
dockerfile: services/dy-jupyter/Dockerfile
target: production
args:
BASE_IMAGE: jupyter/r-notebook
INSTALL_PYTHON2: 0
labels:
io.simcore.key: '{"key": "${SERVICE_R_PATH}"}'
io.simcore.version: '{"version": "${SERVICES_VERSION}"}'
io.simcore.type: '{"type": "dynamic"}'
io.simcore.name: '{"name": "jupyter-r-notebook"}'
io.simcore.description: '{"description": "Jupyter R notebook"}'
io.simcore.authors: '{"authors": [{"name": "sanderegg", "email": "anderegg@itis.swiss", "affiliation": "ITIS Foundation"}]}'
io.simcore.contact: '{"contact": "anderegg@itis.swiss"}'
io.simcore.inputs: '{"inputs": {
"input_1":{"label": "input 1", "displayOrder":0, "description": "Input 1", "type": "data:*/*"},
"input_2":{"label": "input 2", "displayOrder":1, "description": "Input 2", "type": "data:*/*"}
}}'
io.simcore.outputs: '{"outputs": {
"output_1":{"label": "output 1", "displayOrder":0, "description": "Output 1", "type": "data:*/*"},
"output_2":{"label": "output 2", "displayOrder":1, "description": "Output 2", "type": "data:*/*"}
}}'
simcore.service.settings: '[
{"name": "resources", "type": "Resources", "value": {"mem_limit":17179869184, "cpu_limit": 4000000000}},
{"name": "ports", "type": "int", "value": 8888},
{"name": "constraints", "type": "string", "value": ["node.platform.os == linux"]}]'
# simcore.service.bootsettings: '[
# {"name": "entry_point", "type": "string", "value": "?token=${NOTEBOOK_TOKEN}"}]'
org.label-schema.schema-version: "1.0"
org.label-schema.build-date: "${BUILD_DATE}"
org.label-schema.vcs-url: "https://github.com/ITISFoundation/osparc-simcore"
org.label-schema.vcs-ref: "${VCS_REF}"
ports:
- '8890:8888'