nightingale cache and mem limits
This commit is contained in:
1 parent
7e8898a042
commit
c06ab18da9
2 files changed
+22
-1
No files matched your search
@@ -2,13 +2,21 @@
|
||||
# CPU-only prebuilt image
|
||||
services:
|
||||
nightingale:
|
||||
image: razzaru/nightingale:latest
|
||||
image: razzaru/nightingale:1.2.0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8087:8080"
|
||||
# Keeps separation resident but forces the alignment spike into swap rather
|
||||
# than evicting the other stacks and hanging the host.
|
||||
mem_limit: 9g
|
||||
memswap_limit: 24g
|
||||
# /data/cache is bind-mounted so it can be reached over sshfs and songs
|
||||
# can be pre-processed on a machine with more RAM (see docs/aurbis.wiki).
|
||||
# Everything else (db, models, vendor) stays in the named volume.
|
||||
volumes:
|
||||
- data:/data
|
||||
- ./songs:/songs:ro
|
||||
- ./cache:/data/cache
|
||||
environment:
|
||||
NIGHTINGALE_LIBRARY_PATH: /songs
|
||||
|
||||
|
||||
Reference in new issue
Block a user