compose.override.dist.yaml 723 B

1234567891011121314151617181920212223
  1. services:
  2. php-7.4: &php
  3. build:
  4. target: php
  5. args: &base_build_args
  6. DOCKER_USER_ID: ${DOCKER_USER_ID:-1000}
  7. DOCKER_GROUP_ID: ${DOCKER_GROUP_ID:-1000}
  8. user: ${DOCKER_USER_ID:-1000}:${DOCKER_GROUP_ID:-1000}
  9. extra_hosts:
  10. # Allow container to connect to host to use XDebug step debugging.
  11. # This is not needed when using Docker Desktop as it supports this natively.
  12. - 'host.docker.internal:host-gateway'
  13. environment:
  14. XDEBUG_MODE: ${XDEBUG_MODE:-off}
  15. XDEBUG_CONFIG: 'idekey=${XDEBUG_IDEKEY:-PHPSTORM} client_host=${XDEBUG_CLIENT_HOST:-host.docker.internal}'
  16. php-8.0:
  17. <<: *php
  18. php-8.1:
  19. <<: *php
  20. php-8.2:
  21. <<: *php
  22. php-8.3:
  23. <<: *php