How to run Wireguard VPN in balenaOS

Please use the thread below to discuss the related blog post:

I’m interested in running a WireGuard client as part of a Balena Fleet. I’m using a containerized WireGuard implementation that expects to find a configuration in some docker volume. However, I’m not sure how to get the configuration (which includes the peers / allowed ips) inside the container. I cannot use bind-mounts as I’m using a docker-compose file. Is there a recommended way of doing this?

Thank you!