-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
27 lines (26 loc) · 943 Bytes
/
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
version: '3'
services:
lab:
build: ./
image: simple_coronavirus_report
container_name: simple_coronavirus_report_lab
volumes:
- ./:/home/jovyan/
ports:
- "8888:8888"
environment:
- JUPYTER_RUNTIME_DIR=/tmp/runtime
- JUPYTER_ENABLE_LAB=1
command: "jupyter-lab --no-browser --ip=\"*\" --allow-root --port=8888 --NotebookApp.notebook_dir=/home/jovyan --LabApp.token=\"\" --LabApp.password=\"\""
rstudio:
build: ./
image: simple_coronavirus_report
container_name: simple_coronavirus_report_rstudio
volumes:
- ./:/home/jovyan
ports:
- "8787:8787"
environment:
- JUPYTER_RUNTIME_DIR=/tmp/runtime
- JUPYTER_ENABLE_LAB=1
command: "jupyter-lab --no-browser --ip=\"*\" --allow-root --port=8787 --NotebookApp.notebook_dir=/home/jovyan --LabApp.token=\"\" --LabApp.password=\"\" --NotebookApp.default_url=\"/rstudio\""