jellyfin/docker-compose.yml
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
network_mode: 'host'
volumes:
- /var/jellyfin/config:/config
- /var/jellyfin/cache:/cache
- type: bind
source: /var/jellyfin/media
target: /media
# Optional - extra fonts to be used during transcoding with subtitle burn-in
- type: bind
source: /var/jellyfin/fonts
target: /usr/local/share/fonts/custom
read_only: true
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=http://jellyfin.local
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'
dockurr/docker-compose.yml
version: '3.8'
services:
samba:
image: dockurr/samba
container_name: samba
environment:
- USER=samba
- PASS=SecretPass!
- NAME=Data
ports:
- "445:445"
volumes:
- /var/jellyfi/media:/storage
restart: always