qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
7.94k stars 367 forks source link

WIREGUARD_PRIVATE_KEY_SECRETFILE missing #1758

Closed Mladia closed 1 year ago

Mladia commented 1 year ago

https://github.com/qdm12/gluetun/blob/c5cc240a6cf8b97de8bcf199b8ad23a49deb2b48/Dockerfile#L96C19-L96C19

Currently, the possibility of using a secrets file for Wireguard is missing. This functionality is present for instance with Openvpn and the OPENVPN_USER_SECRETFILE.

As I understand, one of the things is to add WIREGUARD_PRIVATE_KEY_SECRETFILE=/run/secrets/wireguard_private_key \. to the Dockerfile

Would this be all?

qdm12 commented 1 year ago

Duplicate of #614

Also see https://github.com/qdm12/gluetun/pull/1348#issuecomment-1646538214 and feel free to subscribe to the issue or pr mentioned to be alerted once it's done. Thanks!