I confirm that the version in this branch works in both MacOS and Linux if #12 is merged first, because the problem reported there will crash the program before it hits the troublesome line reported here.
Steps to Reproduce
./start.sh
Expected Behavior
No errors.
Current Behavior
WARN[0000] The "..." variable is not set. Defaulting to a blank string.
sed: 1: "./.env": invalid command code .
Description
Special characters in env vars will throw errors upon being read depending on the shell. The cross-platform solution is described here.
A similar problem happens in the following line, which won't work on MacOS, for the reason described here.
https://github.com/evertramos/docker-portainer-letsencrypt/blob/13f4f866b45ef801d58a1ea28bf8f643c82effc6/start.sh#L42
I confirm that the version in this branch works in both MacOS and Linux if #12 is merged first, because the problem reported there will crash the program before it hits the troublesome line reported here.
Steps to Reproduce
./start.sh
Expected Behavior
No errors.
Current Behavior