this post was submitted on 03 Dec 2023
2 points (100.0% liked)
Docker
1091 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Delete the - ALLOW_EMPTY_PASSWORD=no
Look at using docker-compose as you'll likely want to connect other containers to that DB so you don't have MariaDB containers everywhere
https://www.howtogeek.com/devops/what-is-docker-compose-and-how-do-you-use-it/
Once you're using docker-compose you no longer need to store user credentials in plaintext which is really not the best practice
https://docs.docker.com/compose/use-secrets/
You mean this right?
https://github.com/bitnami/containers/blob/main/bitnami/wordpress-nginx/docker-compose.yml
This is what I'm editing.