I have a server with some dockers. One of these is a MiniDLA server. In my local network I can see all movies/songs that minidla server shared, with my smartTV, phone, tablet... Its working.
Now, i added a new docker with zeroTier client in server. I created a network in zerotier Web and I connect server with this. Also I installed zerotier in my phone, and when im using 3g/4g connection, if i connect zerotier vpn, i can see my server. I can use Ssh, ftp, and other services.
But Vlc in phone cannot see the minidla server.
Maybe I lost to configure something?
minidla docker-compose:
version: '3'
services:
dlna:
image: vladgh/minidlna
container_name: minidlna
restart: unless-stopped
volumes:
- ./config/minidlna.conf:/etc/minidlna.conf
- /media/disk1/series:/media/movies
network_mode: host
environment:
MINIDLNA_MEDIA_DIR_1: /media/movies
MINIDLNA_FRIENDLY_NAME: HOMESERVER
deploy:
resources:
limits:
cpus: "1"
memory: "200M"
minidlna.conf is very simple:
log_dir=/minidlna
db_dir=/minidlna/cache
friendly_name=HOMESERVER
inotify=yes
media_dir=/media/movies
and zerotier docker-compose is also simple too:
services:
zerotier:
restart: unless-stopped
image: zerotier/zerotier
restart: unless-stopped
container_name: zerotier
devices:
- /dev/net/tun
network_mode: host
volumes:
- ./zerotier-one:/var/lib/zerotier-one/networks.d
cap_add:
- NET_ADMIN
- SYS_ADMIN
I think i forget something, but cannot find it. Can you help me?