Standardize formatting across multiple docker-compose.yml files: convert single quotes to double quotes for ports/args, fix inconsistent newlines at EOF, remove trailing spaces and stray blank lines, and tidy comments. Reformat ListSync healthcheck into a YAML sequence for clarity. Remove the obsolete Immich/docker-compose.yml.old file. These are non-functional cleanup changes to improve consistency and readability.
30 lines
702 B
YAML
30 lines
702 B
YAML
name: linuxserver-jellyfin
|
|
services:
|
|
jellyfin:
|
|
image: linuxserver/jellyfin:latest
|
|
container_name: jellyfin
|
|
hostname: MohandL3G-Server
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Africa/Tripoli
|
|
- gpus=all
|
|
volumes:
|
|
- C:\Data\AppData\jellyfin\config:/config
|
|
- C:\Data\AppData\jellyfin\media:/data/media
|
|
ports:
|
|
- 8096:8096
|
|
- 8920:8920 #optional
|
|
- 7359:7359/udp #optional
|
|
- 1900:1900/udp #optional
|
|
deploy:
|
|
# Add this section
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities:
|
|
- gpu
|
|
restart: unless-stopped
|