Decrease docker mem
This commit is contained in:
parent
7ace602a6c
commit
73840ead05
|
@ -5,10 +5,9 @@ services:
|
|||
stdin_open: true
|
||||
tty: true
|
||||
working_dir: /mermaid
|
||||
# mem_reservation: "10M"
|
||||
mem_limit: '8G'
|
||||
mem_limit: '2G'
|
||||
environment:
|
||||
- NODE_OPTIONS=--max_old_space_size=8192
|
||||
- NODE_OPTIONS=--max_old_space_size=2048
|
||||
volumes:
|
||||
- ./:/mermaid
|
||||
- root_cache:/root/.cache
|
||||
|
|
Loading…
Reference in New Issue