Files
minidlna/compose.yml
Gian Luca Vagnuzzi 11f6ebcab8
All checks were successful
Update Docker Hub Description / dockerHubDescription (push) Successful in 13s
Docker Image CI / build_docker_images (push) Successful in 13m50s
Initial commit
2025-11-12 12:13:15 +01:00

21 lines
799 B
YAML

# "A" for audio (eg. media_1=A,/home/jmaggard/Music)
# "V" for video (eg. media_2=V,/home/jmaggard/Videos)
# "P" for images (eg. media_3=P,/home/jmaggard/Pictures)
# "PV" for pictures and video (eg. media[1]=PV,/home/jmaggard/digital_camera)
# NOTE: for more media folder, increment a number after _, as in the lines commented below
services:
minidlna:
image: rardcode/minidlna
container_name: minidlna
environment:
- media_1=P,/media/multimedia/photos
volumes:
- /srv/multimedia:/media/multimedia
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
# You need to run the container in host mode for it to be able to receive UPnP broadcast packets. The default bridge mode will not work.
network_mode: host
restart: unless-stopped