I am attempting to install a custom app via YAML and am hitting a problem.
Here is the correct YAML:
###
services:
universalmediaserver:
container_name: ums
image: universalmediaserver/ums-ubuntu:latest
network_mode: host
ports:
- ‘1900:1900/tcp’
- ‘1900:1900/udp’
- ‘5001:5001’
- ‘9001:9001’
- ‘1044:1044’
restart: always
volumes: - ./profile:/root/.config/UMS
- /mnt/pathtomedia:/media:ro
version: ‘3.7’
###
The issue I am having is DNLA/UPnP functionality is not working. I am convinced the docker networking is not opening the port, likely due to the Truenas YAML text validation. Even though I entered the YAML properly quoted as above, the UPnP port 1900 has lost it quotes:
I have tried both single quotes and double quotes to no avail.
I have also tried long form for those ports, and that also failed. I am not sure if it directly related, or a symptom of another failure.
###
ports:
-
protocol: udp
target : 1900published: 1900
-
protocol: tcp
target: 1900
published: 1900
Does anyone have a work around or is bug ready?
