Set /dev/shm to 1gb
This commit is contained in:
@@ -17,8 +17,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker-storage/obsidian:/config
|
- /mnt/docker-storage/obsidian:/config
|
||||||
- /mnt:/mnt
|
- /mnt:/mnt
|
||||||
|
- type: tmpfs
|
||||||
|
target: /dev/shm
|
||||||
ports:
|
ports:
|
||||||
- 8112:3000
|
- 8112:3000
|
||||||
- 8113:3001
|
- 8113:3001
|
||||||
shm_size: "1gb"
|
shm_size: "1gb"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
tmpfs:
|
||||||
|
- /tmp:size=1G
|
||||||
|
|||||||
Reference in New Issue
Block a user