diff --git a/composer.json b/composer.json index ed74dca..baf81e0 100644 --- a/composer.json +++ b/composer.json @@ -77,7 +77,8 @@ "phpstan/extension-installer": false, "symfony/thanks": false, "symfony/runtime": true, - "cweagans/composer-patches": true + "cweagans/composer-patches": true, + "php-http/discovery": true } }, "extra": { diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 9c66334..2fd5b0b 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -1,4 +1,12 @@ +services: + php: + environment: + - APP_ENV=dev + - APP_DEBUG=1 + - PHP_IDE_CONFIG=serverName=sylius.dev + # - XDEBUG_MODE=debug + networks: default: name: 'connectors-proxy' diff --git a/docker-compose.yml b/docker-compose.yml index 8090477..0dd72ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,14 +7,12 @@ services: depends_on: - mysql environment: - - APP_ENV=dev - - APP_DEBUG=1 + - APP_ENV=prod + - APP_DEBUG=0 - APP_SECRET=EDITME - DATABASE_URL=mysql://sylius:${MYSQL_PASSWORD:-nopassword}@mysql/sylius - MAILER_DSN=smtp://mailhog:1025 - PHP_DATE_TIMEZONE=${PHP_DATE_TIMEZONE:-UTC} - - PHP_IDE_CONFIG=serverName=sylius.dev -# - XDEBUG_MODE=debug volumes: - .:/srv/sylius:rw,cached # if you develop on Linux, you may use a bind-mounted host directory instead