Open w41g87 opened 7 months ago
Try using docker compose up -d
instead of docker-compose up -d
And remove the version: "3"
line in your docker-compose.yml or replace to version: "3.8"
Try using
docker compose up -d
instead ofdocker-compose up -d
And remove the
version: "3"
line in your docker-compose.yml or replace toversion: "3.8"
Making these two modifications results in the same output
Same behavior on Ubuntu 22.04. Any solutions?
I was getting the same error while running docker-compose up, so I just docker-compose down and retry using sudo this time and I got no more the ER_HOST_NOT_PRIVILEGED error.
I found this tutorial strange because it is citing the host in 'service: app:' but it is not defining a 'container_name:'db'', in 'service: db:', maybe this will work
db:
image: 'jc21/mariadb-aria:latest'
container_name: db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
MARIADB_AUTO_UPGRADE: '1'
volumes:
- ./mysql:/var/lib/mysql
And where is the port to expose the database? I don't know how mariaDb works, but that's also strange
maybe adding expose: - '3306
will help
Using the
docker-compose.yml
file provided in the tutorial documentation yieldsER_HOST_NOT_PRIVILEGED
error in logNginx Proxy Manager Version v2.11.1
To Reproduce Steps to reproduce the behavior:
docker-compose.yml
file and save it locallydocker-compose up
docker-compose logs
Expected behavior The application connects to the database with no error.
Screenshots
Operating System Debian 12
Additional context Also results in
Bad Gateway
error when attempting to login to the webUI.