Add memory limit to jellyfin

This commit is contained in:
2025-06-22 22:54:28 +05:30
parent b7bb6614a6
commit 771dd819fa

View File

@@ -3,6 +3,10 @@ services:
image: jellyfin/jellyfin:10.10.7 image: jellyfin/jellyfin:10.10.7
container_name: jellyfin container_name: jellyfin
user: ${UID}:${GID} user: ${UID}:${GID}
deploy:
resources:
limits:
memory: ${MEMORY_LIMIT}
volumes: volumes:
- ${APPDATA_PATH}/jellyfin/config:/config - ${APPDATA_PATH}/jellyfin/config:/config
- ${APPDATA_PATH}/jellyfin/cache:/cache - ${APPDATA_PATH}/jellyfin/cache:/cache