Commit 345b9a00 authored by nanahira's avatar nanahira

limit resource

parent 30c33481
......@@ -16,9 +16,9 @@ services:
'{{instance.name}}':
restart: always
image: {{ jupyter_image }}
cpus: 1
mem_limit: 1g
volumes:
- ./instances/config/{{ instance.name }}.json:/home/jovyan/.jupyter/jupyter_notebook_config.json:ro
- ./instances/data/{{ instance.name }}:/home/jovyan/work
environment:
GRANT_SUDO: 'yes'
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment