[Feature Request] Support starting web server without .env
file
#71
foremtehan
started this conversation in
Ideas
Replies: 1 comment
-
Will be supported it in the next release. #72 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
PHP Version
8.4
Swoole Extension Version
6.0.2
Description
For security reasons, I only pass
.env
content (not the file itself) via docker compose env_file attribute.But as soon we start the server we get thousands of errors like this in the terminal:
Steps To Reproduce
I don't need to put .env file in the root because of the above config, I do these steps via
appleboy/ssh-action
github action in my server not the container. It ssh to my server and deploy my app like:github workflow:
In the current situation, I have only two options: either push the .env file to github or build the image with the .env file included, both are risky.
Beta Was this translation helpful? Give feedback.
All reactions