snackpot.yml - add minidlna containiner
set all ports with firewall_ports
This commit is contained in:
@@ -12,6 +12,8 @@ volumes:
|
||||
vhost.d:
|
||||
html:
|
||||
redis:
|
||||
minidlna_state:
|
||||
minidlna_data:
|
||||
|
||||
networks:
|
||||
proxy-tier:
|
||||
@@ -46,6 +48,7 @@ services:
|
||||
volumes:
|
||||
- nextcloud_src:{{ nextcloud_base_dir }}
|
||||
- nextcloud_data:{{ nextcloud_data_dir }}
|
||||
- minidlna_data:{{ nextcloud_ext_dir }}/media
|
||||
- /srv:/srv
|
||||
links:
|
||||
- postgres
|
||||
@@ -113,3 +116,17 @@ services:
|
||||
- proxy
|
||||
env_file:
|
||||
- letsencrypt-companion.env
|
||||
|
||||
minidlna:
|
||||
image: vladgh/minidlna:0.5
|
||||
restart: always
|
||||
volumes:
|
||||
- minidlna_state:/minidlna
|
||||
- minidlna_data:/media:ro
|
||||
network_mode: host
|
||||
environment:
|
||||
- UPID=2000
|
||||
- UGID=2000
|
||||
- MINIDLNA_MEDIA_DIR_1=A,/media/audio
|
||||
- MINIDLNA_MEDIA_DIR_2=V,/media/video
|
||||
- MINIDLNA_FRIENDLY_NAME=Snackpot
|
||||
|
||||
Reference in New Issue
Block a user