Title: Podman Compose: "ParseAddr("")" error and Network Connection issues

:bullseye: What I Need Help With

I am trying to run Dify using podman compose (with docker-compose v2.27.1 as the provider) on a rootless Podman setup (v4.9.3). I am encountering two main issues:

  1. Network Parsing Error: I frequently get ParseAddr("<nil>"): unable to parse IP when running up -d. This seems related to the internal: true flag in the ssrf_proxy_network.

  2. Network Connection Error: When trying to restart after a failure, I get Error response from daemon: container <ID> is not connected to network docker_ssrf_proxy_network, even though the container is listed as part of the project.

  3. Rootless Port Binding: I had to shift Nginx to port 8080 because rootless Podman cannot bind to port 80.

Environment:

  • OS: Linux (Pop!_OS/Ubuntu based)

  • Podman: 4.9.3 (Rootless)

  • Compose Provider: Docker Compose v2.27.1