Skip to content

Commit

Permalink
Improve performance on Windows/Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Aug 2, 2023
1 parent 6d9c258 commit 9f7a6ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api-platform/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- ./api/docker/php/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
# If you develop on Mac or Windows you can remove the vendor/ directory
# from the bind-mount for better performance by enabling the next line:
#- /srv/app/vendor
- /srv/app/vendor
environment:
# See https://xdebug.org/docs/all_settings#mode
XDEBUG_MODE: "${XDEBUG_MODE:-off}"
Expand All @@ -24,6 +24,9 @@ services:
target: dev
volumes:
- ./pwa:/srv/app
# If you develop on Mac or Windows you can remove the node_modules/ directory
# from the bind-mount for better performance by enabling the next line:
- /srv/app/node_modules
environment:
API_PLATFORM_CREATE_CLIENT_ENTRYPOINT: http://caddy
API_PLATFORM_CREATE_CLIENT_OUTPUT: .
Expand Down

0 comments on commit 9f7a6ae

Please sign in to comment.