Files
aurbis/tasks/nightingale/docker-compose.yml.j2
T
2026-09-04 10:53:04 +02:00

25 lines
745 B
Django/Jinja

# {{ ansible_managed }}
# CPU-only prebuilt image
services:
nightingale:
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
volumes:
data: