New Stack Advice
Example of typical compose.yaml
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- JELLYFIN_PublishedServerUrl=zgp.us #optional
volumes:
- ${APPDATA}/Jellyfin/Config:/config
- ${MEDIA}/Videos/TV Shows:/data/tv
- ${MEDIA}/Videos/Movies:/data/movies
- ${MEDIA}/Videos/Anime:/data/anime
- ${MEDIA}/Music:/data/music
- ${MEDIA}/Videos/AMVs:/data/amvs
- ${MEDIA}/Videos/Stream:/data/stream
- ${MEDIA}/Videos/Music Videos:/data/musicvideos
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
PUID=1002
PGID=100
TZ=America/New_York
APPDATA=/home/zel/docker
MEDIA=/mnt/omv/media
Get UID and GID with: id <user>
There's a site that lists time zones (add link later)
A lot of apps give permission errors, especially if you replace the container volume with a real folder.
To fix it use the usual commands:
chmod 777 <folder name>
chown <user name> <folder name>
chgrp <user name> <folder name>
Explain this more later.
No comments to display
No comments to display