Docker Compose references an undefined PHP service
Error recorded 2 times in PanelAlpha Engine deploys on Dockerfile. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen2 times
WhereDockerfile
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The generated Compose project contains shlink_nginx, which depends on shlink_php, but no shlink_php service is available in the effective Compose configuration. Docker rejects the project before any container starts. This may be caused by an incomplete Compose file or by service filtering during Dockerfile deployment.
What the log looks like
Deploy log
Starting application (docker compose up -d)service "shlink_nginx" depends on undefined service "shlink_php": invalid compose projectDeploy failed: Failed to start app: service "shlink_nginx" depends on undefined service "shlink_php"