CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errror make build new version symfony

mariomorenodev opened this issue · comments

Hello,

I am trying to run the make build a pessar that tells me that everything went well when doing docker ps, I do not see the backoffice ports of any, I alternatively execute docker-compose up and I see some errors in the console.

CONTAINER ID   IMAGE                                                 COMMAND                  CREATED         STATUS                                  PORTS                                                                                                                                               NAMES
389fb5ea163f   php-ddd-example_backoffice_backend_php                "docker-php-entrypoi…"   7 seconds ago   Restarting (1) Less than a second ago                                                                                                                                                       codely-php_ddd_skeleton-backoffice_backend-php
3c3da8bb3cc5   php-ddd-example_backoffice_frontend_php               "docker-php-entrypoi…"   7 seconds ago   Restarting (1) 1 second ago                                                                                                                                                                 codely-php_ddd_skeleton-backoffice_frontend-php
6919b13df097   php-ddd-example_mooc_backend_php                      "docker-php-entrypoi…"   7 seconds ago   Restarting (1) Less than a second ago                                                                                                                                                       codely-php_ddd_skeleton-mooc_backend-php
928a54632036   docker.elastic.co/elasticsearch/elasticsearch:8.2.3   "/bin/tini -- /usr/l…"   7 seconds ago   Up 6 seconds                            0.0.0.0:9200->9200/tcp, :::9200->9200/tcp, 0.0.0.0:9300->9300/tcp, :::9300->9300/tcp                                                                codely-php_ddd_skeleton-backoffice-elastic
761710980a1d   mariadb:10.7.4                                        "docker-entrypoint.s…"   7 seconds ago   Up 6 seconds (health: starting)         0.0.0.0:3360->3306/tcp, :::3360->3306/tcp                                                                                                           codely-php_ddd_skeleton-mooc-mysql
1b4052f8b651   rabbitmq:3.10.5-management                            "docker-entrypoint.s…"   7 seconds ago   Up 6 seconds                            4369/tcp, 5671/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:5630->5672/tcp, :::5630->5672/tcp, 0.0.0.0:8090->15672/tcp, :::8090->15672/tcp   codely-php_ddd_skeleton-rabbitmq
8a430942230d   prom/prometheus:v2.36.1                               "/bin/prometheus --c…"   7 seconds ago   Up 6 seconds                            0.0.0.0:9999->9090/tcp, :::9999->9090/tcp                                                                                                           codely-php_ddd_skeleton-prometheus

Captura desde 2022-09-09 10-43-37

This is caused because Symfony changed its CLI and we can't pin the old version.

To fix this, you should modify every instance where we use it and remove the --force-php-discovery part. 🙂

Thank you very much it worked