Including usernames and passwords as part of the Docker image is problematic - for one it makes it impossible to distribute images via Docker hub or other public repo.
Rather than building in the password file, either mount the file (for Docker deployments) or create a secret (for Kubernetes).
Including usernames and passwords as part of the Docker image is problematic - for one it makes it impossible to distribute images via Docker hub or other public repo.
Rather than building in the password file, either mount the file (for Docker deployments) or create a secret (for Kubernetes).