Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Jun 17, 2024
1 parent be3a9b7 commit a3146cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3146cf

Please sign in to comment.