nginx-proxy-manager help

    • nginx-proxy-manager help

      Hi.
      I want to use the hub.docker.com/r/jc21/nginx-proxy-manager. but i have a problem to connect to the database.

      My database:

      Source Code

      1. docker run -d -p 3306:3306 \
      2. --name MariaDB_nginx-proxy-manager \
      3. --restart=unless-stopped \
      4. -v /Sonstiges/Docker/Daten/MariaDB_nginx-proxy-manager:/var/lib/mysql:rw \
      5. -v /etc/localtime:/etc/localtime:ro \
      6. -e MYSQL_ROOT_PASSWORD=xxxxxxx \
      7. -e MYSQL_USER=nginx-proxy-manager \
      8. -e MYSQL_PASSWORD=passone \
      9. -e MYSQL_DATABASE=nginx-proxy-manager \
      10. mariadb:latest


      proxy manager:

      Source Code

      1. docker run -d -p 80:80 -p 443:443 -p 81:81 \
      2. --name nginx-proxy-manager \
      3. --restart=unless-stopped \
      4. -v /etc/localtime:/etc/localtime:ro \
      5. -v /Sonstiges/Docker/Daten/nginx-proxy-manager/Letsencrypt:/etc/letsencrypt:rw \
      6. -v /Sonstiges/Docker/Daten/nginx-proxy-manager/Data:/etc/data:rw \
      7. -v /Sonstiges/Docker/Konfigurationen/nginx-proxy-manager/config.json:/app/config/production.json:rw \
      8. jc21/nginx-proxy-manager:latest
      and the config.json file:


      Source Code

      1. {
      2. "database": {
      3. "engine": "mysql",
      4. "host": "my IP adress",
      5. "name": "nginx-proxy-manager",
      6. "user": "nginx-proxy-manager",
      7. "password": "passone",
      8. "port": 3306
      9. }
      10. }
      And this is the error:

      2019-01-12 0:02:58 9 [Warning] Access denied for user 'nginx-proxy-manager'@'172.17.0.1' (using password: YES)

      What is wrong? I checked the password, username etc but i can not find the issue.
      Can anybody help? Please.