-
Notifications
You must be signed in to change notification settings - Fork 349
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: [emerg] host not found in upstream "app:9000" in /etc/nginx/conf.d/default.conf:2 #176
Comments
I've setup a fresh instance as well with the example docker-compose.yml file (slightly modificated for my use cases ;) ) web:
image: nginx:alpine
depends_on:
- app
volumes:
- ./matomo.conf:/etc/nginx/conf.d/default.conf:ro @PavanYadala hope this helps you getting started :) |
I have same issue i tried above setup but getting same issue |
There are several reasons for this error. services:
my-matomo-db:
image: mariadb
# [...]
my-matomo-app:
image: matomo:fpm-alpine
# [...]
my-matomo-web:
image: nginx:alpine Than you have to also adjust the matomo.conf file. In this case, change the first part into:
The important thing is that |
None of the above infos worked for me. I was stuck with the port 9000 message. Add to the end of the block for
Add as suggested by @renepardon to
Add to the end of the compose file
|
On running the docker-compose on AWS ECS, the system is throwing below error. Please let me know how to fix it?
nginx: [emerg] host not found in upstream "app:9000" in /etc/nginx/conf.d/default.conf:2
The text was updated successfully, but these errors were encountered: