-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx upstream errror with wordpress container #933
Comments
The same with my Rails app. If I use
|
same issue here - anyone has a solution for this or how to further debug ? |
@seking01 @casi @arnold-maderthaner I'm not sure if this would help but I was setting this up a wordpress container as well and after a day or netstat, telnet, docker inspect, curl, reading nginx docs, and feeling like a docker failure I had a sanity check with myself and realized that maybe I wasn't doing anything wrong at all :) how about I just pin to a older version of nginx and boom it worked. I first tried Confusing part is |
example compose file i'm using https://gist.github.com/webguywalker/3b6e699f2cbe8f7b814e904e8f0095d3 Note: |
hi, i try to run this in 3 container setup with a wordpress docker container but it does not work
this is my docker-compose file
`version: '2'
services:
db:
container_name: db
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wordpress:
container_name: wordpress
image: wordpress:latest
volumes:
db_data:
`
When i try to open myurl.de i get 502 BAD GATEWAY. In nginx container logs it says:
2022/03/18 10:20:55 [error] 267#267: *162 no live upstreams while connecting to upstream, client:
thank you for your help.
The text was updated successfully, but these errors were encountered: