docker-compose.override.yaml.dist 722 B

1234567891011121314151617181920212223
  1. version: '3.8'
  2. services:
  3. php-7.4: &php
  4. build:
  5. args:
  6. DOCKER_USER_ID: 1000 # replace with your user id (most likely 1000)
  7. DOCKER_GROUP_ID: 1000 # replace with your group id (most likely 1000)
  8. user: 1000:1000 # replace with your user and group ids (most likely 1000:1000)
  9. extra_hosts:
  10. # Required for Docker Linux until natively supported.
  11. # See https://github.com/docker/for-linux/issues/264
  12. - 'host.docker.internal: 172.17.0.1'
  13. environment:
  14. # Switch to 'debug' when you want to enable XDebug
  15. XDEBUG_MODE: off
  16. XDEBUG_CONFIG: 'idekey=PHPSTORM client_host=host.docker.internal'
  17. php-8.0:
  18. <<: *php
  19. php-8.1:
  20. <<: *php
  21. php-8.2:
  22. <<: *php