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
 

Not sure what I'm doing wrong here, I'm using this image:

https://hub.docker.com/r/bitnami/wordpress-nginx

I updated the compose file to have un/pw for mariadb:

  mariadb:
    image: docker.io/bitnami/mariadb:11.1
    volumes:
      - '/etc/docker/mariadb-persist:/bitnami/mariadb'
    environment:
      - ALLOW_EMPTY_PASSWORD=no
      - MARIADB_USER=admin
      - MARIADB_PASSWORD=admin
      - MARIADB_DATABASE=bitnami_wordpress

But I get this error:

2023-12-03 19:03:02 3 [Warning] Access denied for user 'admin'@'172.18.0.3' (using password: NO)

using password: NO??

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

It's hard to tell what part of the compose is erroring out, and I can't test it currently, but is the error for the MariaDB password or the WordPress password (set with WORDPRESS_PASSWORD)?