Ao executar "docker compose ps" :
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS alura-ms-api-gateway-1 nginx "/docker-entrypoint.…" api-gateway 19 minutes ago Up 19 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp alura-ms-consumer-academico-1 alura-ms-consumer-academico "docker-php-entrypoi…" consumer-academico 19 minutes ago Up 19 minutes alura-ms-front-1 node:16 "docker-entrypoint.s…" front 19 minutes ago Up 19 minutes 0.0.0.0:4200->4200/tcp, :::4200->4200/tcp alura-ms-mongo-mkt-1 mongo "docker-entrypoint.s…" mongo-mkt 19 minutes ago Up 19 minutes 27017/tcp alura-ms-postgre-academico-1 postgres "docker-entrypoint.s…" postgre-academico 19 minutes ago Up 19 minutes 5432/tcp alura-ms-rabbitmq-1 rabbitmq "docker-entrypoint.s…" rabbitmq 19 minutes ago Up 19 minutes 4369/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp alura-ms-web-academico-1 alura-ms-web-academico "docker-php-entrypoi…" web-academico 19 minutes ago Up 19 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp alura-ms-web-financeiro-1 alura-ms-web-financeiro "docker-php-entrypoi…" web-financeiro 19 minutes ago Up 19 minutes 0.0.0.0:9501->9501/tcp, :::9501->9501/tcp alura-ms-web-mkt-1 node:16 "docker-entrypoint.s…" web-mkt 19 minutes ago Up 19 minutes 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp
No início da execução apresenta a seguinte mensagem:
web-academico-1 | In Connection.php line 692: web-academico-1 | web-academico-1 | SQLSTATE[08006] [7] could not connect to server: Connection refused web-academico-1 | Is the server running on host "postgre-academico" (172.28.0.3) and accepti web-academico-1 | ng web-academico-1 | TCP/IP connections on port 5432? (SQL: select * from information_schema.ta web-academico-1 | bles where table_schema = public and table_name = migrations and table_type web-academico-1 | = 'BASE TABLE') web-academico-1 | web-academico-1 | web-academico-1 | In Connector.php line 70: web-academico-1 | web-academico-1 | SQLSTATE[08006] [7] could not connect to server: Connection refused web-academico-1 | Is the server running on host "postgre-academico" (172.28.0.3) and accepti web-academico-1 | ng web-academico-1 | TCP/IP connections on port 5432? web-academico-1 | web-academico-1 |
Não apresenta na aplicação o Lead inicial e não apresenta os cursos em http://localhost:4200/cursos
https://drive.google.com/file/d/1W13j9kaN6Nz-YE8djgEIFG1SMMO_kva2/view?usp=sharing Para ver os logs copie e cole o link, Alura bloqueia click direto.
O que pode estar acontecendo?