There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Appoxo ,
@Appoxo@lemmy.dbzer0.com avatar

You could join two different networks

And bind the port to that.

Example:


<span style="color:#323232;">    ports: 
</span><span style="color:#323232;">       - 8880:8880 #HTTP port #optional 
</span><span style="color:#323232;">       - 8443:8443 #HTTPS port 
</span><span style="color:#323232;">       - 3478:3478/udp 
</span><span style="color:#323232;">       - 10001:10001/udp 
</span><span style="color:#323232;">       - 8080:8080 
</span><span style="color:#323232;">       - "10.0.0.253:1900:1900/udp" #optional 
</span><span style="color:#323232;">       - 8843:8843 #optional 
</span><span style="color:#323232;">       - 6789:6789 #optional 
</span><span style="color:#323232;">       - 5514:5514/udp #optional 
</span><span style="color:#323232;">     networks: 
</span><span style="color:#323232;">       service: 
</span><span style="color:#323232;">       net: 
</span><span style="color:#323232;">         ipv4_address: 10.0.0.253
</span>

In that case I binded the container to the service network but needed a static IP reachable by outside devices.
So I created a macvlan adapter, binded the port 1900 to that adress and all was fine.
Should probably work for your use case.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines