docker-compose.stub 794 B

1234567891011121314151617181920212223242526272829
  1. # For more information: https://laravel.com/docs/sail
  2. version: '3'
  3. services:
  4. laravel.test:
  5. build:
  6. context: ./vendor/laravel/sail/runtimes/8.1
  7. dockerfile: Dockerfile
  8. args:
  9. WWWGROUP: '${WWWGROUP}'
  10. image: sail-8.1/app
  11. extra_hosts:
  12. - 'host.docker.internal:host-gateway'
  13. ports:
  14. - '${APP_PORT:-80}:80'
  15. environment:
  16. WWWUSER: '${WWWUSER}'
  17. LARAVEL_SAIL: 1
  18. XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
  19. XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
  20. volumes:
  21. - '.:/var/www/html'
  22. networks:
  23. - sail
  24. {{depends}}
  25. {{services}}
  26. networks:
  27. sail:
  28. driver: bridge
  29. {{volumes}}