diff --git a/docker/services/tinc b/docker/services/tinc index bfda8b0..af5ba73 100644 --- a/docker/services/tinc +++ b/docker/services/tinc @@ -21,3 +21,8 @@ {{ else }} - net.ipv6.conf.all.disable_ipv6=0 {{ end }} +{{ if eq "bridge" "${network_mode:-macvlan}" }} + ports: + - "${tinc_bind_port:-9993}:${tinc_bind_port:-9993}/tcp" + - "${tinc_bind_port:-9993}:${tinc_bind_port:-9993}/udp" +{{ end }}