-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
24 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3'
services:
jupyter:
container_name: esse-tutorial-jupyter
user: $CURRENT_USER
environment:
- JUPYTER_PORT=$JUPYTER_PORT
- JUPYTER_SECONDARY_PORT=$JUPYTER_SECONDARY_PORT
- MEM_LIMIT=$MEM_LIMIT
- CPU_LIMIT=$CPU_LIMIT
build:
context: ./container_definitions
dockerfile: Dockerfile-Jupyter
ports:
- $JUPYTER_PORT:${JUPYTER_PORT} # Porta onde será executado o JupyterLab
- $JUPYTER_SECONDARY_PORT:${JUPYTER_SECONDARY_PORT} # Porta onde será executado (se houver) o dashboard
stdin_open: true
tty: true
deploy:
resources:
limits:
memory: $MEM_LIMIT
volumes:
- ../:/home/jptr:rw