mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 18:15:50 +03:00
[GH-ISSUE #492] Use the _FILE suffix for configuring variables with docker secrets #459
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha0s on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/492
Checklist
Describe the enhancement request
The environment variables (
VPN_IPSEC_PSK,VPN_USER,VPN_PASSWORD) should be configurable using docker secrets by setting the variables with a_FILEsuffix (e.g.VPN_PASSWORD_FILE).See the following image captured from the mysql docker container README:
Is your enhancement request related to a problem? Please describe.
The problem is that currently sensitive configuration files must be stored in plaintext.
@hwdsl2 commented on GitHub (Feb 10, 2026):
@cha0s Hello! Thank you for your suggestions. Currently, Docker secrets are only available to swarm services, not to standalone containers. This project currently has the option for users to load the VPN variables from a Docker "env" file. You are welcome to customize the image to your needs.