binhex / arch-privoxyvpn

Docker build script for Arch Linux base with Privoxy and OpenVPN
GNU General Public License v3.0
102 stars 24 forks source link

Add support for _FILE environment variables so Docker secrets can be used for credentials #20

Open ghost opened 2 years ago

ghost commented 2 years ago

Would you consider adding in support for specifying environment variables with the standardised _FILE appended which are then read from a secret file and converted to an environment variable? This would allow a more secure way of setting the credentials used by the VPN & SOCKS clients.

More info: https://docs.docker.com/engine/swarm/secrets/#build-support-for-docker-secrets-into-your-images

Also: https://github.com/yobasystems/alpine-mariadb/issues/32