you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago (1 child)

I was also struggling a bit with that, but didnt need a script or chron job. Maybe Im missing something, but I used this

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    That integration with Proton VPN is what I’m using as well. However, to automate the updates of my service’s port to match the currently forwarded port is what I wanted a script and cron job for. In this manner, the service will always have the latest forwarded port even after docker service restarts, machine reboots, etc. (since Proton uses a dynamic port allocation that changes quite quickly when disconnected).

  • source
  • parent