I created an empty Docker and placed the wg ui and init. sh files in the '/app' directory. After starting the Docker, I found that it can run and open the login interface, but cannot read environment variables. I don't know why?
When I created the Docker, I set variables such as environment: SMTP_HOSTNAME, SMTP-PORT, SMTP-AUTHYTYPE, SMTP-USERNAME, SMTP-PASSWORD, and so on. Moreover, when I ssh into the container and run env, I can still print the variables I set. Why can't HTML load? I hope you can help me. Thank you!
I created an empty Docker and placed the wg ui and init. sh files in the '/app' directory. After starting the Docker, I found that it can run and open the login interface, but cannot read environment variables. I don't know why? When I created the Docker, I set variables such as environment: SMTP_HOSTNAME, SMTP-PORT, SMTP-AUTHYTYPE, SMTP-USERNAME, SMTP-PASSWORD, and so on. Moreover, when I ssh into the container and run env, I can still print the variables I set. Why can't HTML load? I hope you can help me. Thank you!