snackpot.yml - add minidlna containiner

set all ports with firewall_ports
This commit is contained in:
Nick Stokoe
2021-02-07 16:02:56 +00:00
parent 375172e34e
commit 3acc92043c
2 changed files with 30 additions and 4 deletions

View File

@@ -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