Fixed DB names not matching in the containers

Changed MySQL hostname in the nignxproxymanager image to match the name of the MariaDB container
This commit is contained in:
Damian Mikoláš
2022-04-06 18:02:47 +02:00
committed by GitHub
parent 697231c6fd
commit 964bd0162e

View File

@@ -13,7 +13,7 @@ services:
- '81:81' - '81:81'
- '443:443' - '443:443'
environment: environment:
DB_MYSQL_HOST: "db" DB_MYSQL_HOST: "nginxproxymanager-db"
DB_MYSQL_PORT: 3306 DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm" DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "npm" DB_MYSQL_PASSWORD: "npm"
@@ -29,4 +29,4 @@ services:
MYSQL_USER: 'npm' MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm' MYSQL_PASSWORD: 'npm'
volumes: volumes:
- nginxproxymanager-db:/var/lib/mysql - nginxproxymanager-db:/var/lib/mysql