Set /dev/shm to 1gb

This commit is contained in:
2025-11-28 12:03:23 +08:00
parent 6dcb51cb93
commit 8279734e41

View File

@@ -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