Good point with the VCS! it‘s very important never commit credentials.
If you use a CI/CD tool like CircleCI or Jenkins you can store the credentials as environment variables so the Containers in the build process have access to them.
So yes for not local environments it‘s a good pattern to use the ENV variable.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good point with the VCS! it‘s very important never commit credentials.
If you use a CI/CD tool like CircleCI or Jenkins you can store the credentials as environment variables so the Containers in the build process have access to them.
So yes for not local environments it‘s a good pattern to use the ENV variable.