perf: strictly limit memory usage for notegraph and orgmylife
This commit is contained in:
@@ -2,6 +2,10 @@ services:
|
||||
silverbullet:
|
||||
image: zefhemel/silverbullet:latest
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
environment:
|
||||
SB_USER: "${SB_USER:-admin:changeme}"
|
||||
volumes:
|
||||
@@ -18,6 +22,10 @@ services:
|
||||
git-sync:
|
||||
image: alpine/git:latest
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 64M
|
||||
volumes:
|
||||
- ./notes:/space
|
||||
- ./.git:/repo-git:ro
|
||||
@@ -43,6 +51,10 @@ services:
|
||||
build:
|
||||
context: ./ingestion
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
ports:
|
||||
- "8001:8001"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user