You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a PHP application using nginx as a reverse proxy. I deploy it with Coolify and Docker Compose, and the main deployment works as expected. However, the preview deployment results in the following error:
error: nginx: [emerg] host not found in upstream "php_mm2" in /etc/nginx/conf.d/default.conf:16
Use docker-compose with an application and nginx containers
Open a PR to trigger the preview Deployment
Example Repository URL
No response
Coolify Version
v4.0.0-beta.338
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.4 LTS
Additional Information
The application and nginx containers are on the same network. I couldn’t debug nginx because it keeps restarting in a loop due to the error.
I think the reason is that during the preview deployment, the service name is changed with the addition of pr-{prId}.
The text was updated successfully, but these errors were encountered:
picheidt
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
Sep 19, 2024
Error Message and Logs
I have a PHP application using nginx as a reverse proxy. I deploy it with Coolify and Docker Compose, and the main deployment works as expected. However, the preview deployment results in the following error:
Below are my current files
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.338
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.4 LTS
Additional Information
The application and nginx containers are on the same network. I couldn’t debug nginx because it keeps restarting in a loop due to the error.
I think the reason is that during the preview deployment, the service name is changed with the addition of pr-{prId}.
The text was updated successfully, but these errors were encountered: