NginxProxyManager / NginxProxyManager/docker-nginx-full
502 Bad Gateway
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 108
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
I keep getting a 502 bad gateway when I try to use the proxy.
Here is the code i am using for the yml file.
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "npm"
DB_MYSQL_NAME: "npm"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
db:
image: 'jc21/mariadb-aria:latest'
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql
What could be going on? Ive tried every single tutorial on the internet for this and I cant get it to work on ubuntu 22.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Docker Compose setup on Ubuntu 22 and inspect the app and db container status and logs. Check whether the proxy manager and MariaDB services are communicating as configured; done means identifying the cause of the 502 and documenting a verified configuration or reproduction result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, mariadb, nginx, ubuntu
- Domain
- databases, devops, infrastructure, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100