toString for ports

This commit is contained in:
niten 2023-11-26 16:41:12 -08:00
parent cb91ca8d2d
commit d02f519d63
1 changed files with 4 additions and 4 deletions

View File

@ -210,10 +210,10 @@ in {
]; ];
devices = cfg.devices; devices = cfg.devices;
ports = [ ports = [
"${cfg.ports.frigate}:5000" "${toString cfg.ports.frigate}:5000"
"${cfg.ports.rtsp}:8554" "${toString cfg.ports.rtsp}:8554"
"${cfg.ports.webrtc}:8555/tcp" "${toString cfg.ports.webrtc}:8555/tcp"
"${cfg.ports.webrtc}:8555/udp" "${toString cfg.ports.webrtc}:8555/udp"
]; ];
env_file = [ hostSecrets.frigateEnv.target-file ]; env_file = [ hostSecrets.frigateEnv.target-file ];
}; };