Closed P3nkiln closed 2 years ago
the variable names in .env can be anything, it can be with s, without, it can just be ABC123. As long as it matches what you use in your compose file. If you see an error, you mismatched the name you chose.
I prefer to use LAN_ADDRESS_RANGES, because that reflects the fact you will have multiple if you follow this guide (one for LAN and one for VPN).
That's true. It was just to get it to match.
I still get the same error running docker-compose, and upon checking it, docker-compose.yml still contains the following section:
WGUI_DEFAULT_CLIENT_ALLOWED_IPS: $WGIP/24
WGUI_DEFAULT_CLIENT_EXTRA_ALLOWED_IPS: $LAN_ADDRESS_RANGE
SMTP_HOSTNAME: $SMTP
Clearly, .env does not match the compose file.
Thanks for this great project write-up!!! I'm started to test it, surely will have more questions later-on.
Make sure there are no spaces etc.. utf or Unicode style. Use trial and error: try renaming, get to the cause. If it doesn't match, it's not identical. Use copy paste. Create a new file. Stuff like that.
Extra "s" creates error on running docker-compose up.