Cannot run nextlcoud from docker-compose

Hello guys. I’m trying to install nextcloud with docker-compose on a rocky 8 linux. I’m using this config as the base: docker/.examples/docker-compose/with-nginx-proxy/mariadb/fpm at master · nextcloud/docker · GitHub
and only changed user/pass for mariadb, and set var for letsencrypt.

I get a 502 Bad Gateway from my browser when I try to reach the service. The logs of nextcloud-compose_web says:

*1 connect() failed (113: Host is unreachable) while connecting to upstream, client: 172.19.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.18.0.5:9000"

I see I have 2 services listening on :9000

nextcloud:fpm-alpine                     "/entrypoint.sh php-…"   43 minutes ago   Up 43 minutes   9000/tcp
nextcloud:fpm-alpine                     "/cron.sh"               43 minutes ago   Up 43 minutes   9000/tcp

Any idea or hint?