Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

fix detection when AUTH_SECRET is empty #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpainchaud
Copy link

No description provided.

@wfg
Copy link
Owner

wfg commented May 24, 2023 via email

@cpainchaud
Copy link
Author

cpainchaud commented May 24, 2023

If I put no AUTH_SECRET when I created the container (I put credentials in the opvn config file) then this test will fail and will force the use of --auth-user-pass" "/run/secrets/$AUTH_SECRET" which is obviously why this test was put in place I guess

for the record this is how I create my container:

  --network docker1 \
  --name=openvpn \
  --cap-add=NET_ADMIN \
  --device=/dev/net/tun \
  --volume /xxxxxxxxx/config:/config \
  --restart unless-stopped \
  -e ALLOWED_SUBNETS=xxxxxx/24 \
  -e CONFIG_FILE=default.ovpn \
  -e TZ=Europe/Paris \
  ghcr.io/xxxxxxx/openvpn-client

@cpainchaud
Copy link
Author

any new on this one @wfg ?

thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants