26 lines
618 B
YAML
26 lines
618 B
YAML
version: '3'
|
|
|
|
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
restart: always
|
|
#extra_hosts:
|
|
# - hostname:ip # add this if smb share is mounted with hostname
|
|
ports:
|
|
- 1900:1900
|
|
- 7359:7359
|
|
- ${JELLYFIN_PORT_HTTP}:8096
|
|
- ${JELLYFIN_PORT_HTTPS}:8920
|
|
volumes:
|
|
- ${JELLYFIN_CONFIG_DIR}:/cache
|
|
- ${JELLYFIN_CACHE_DIR}:/config:r
|
|
- nas-drive:/data/media:ro
|
|
env_file:
|
|
- stack.env
|
|
|
|
volumes:
|
|
nas-drive:
|
|
driver_opts:
|
|
type: cifs
|
|
o: username=${SAMBA_USERNAME},password=${SAMBA_PASSWORD},vers=3.0
|
|
device: ${JELLYFIN_DATA_DIR} |