docker-compose.stub 859 B

12345678910111213141516171819202122232425262728
  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.2
  7. dockerfile: Dockerfile
  8. args:
  9. WWWGROUP: '${WWWGROUP}'
  10. image: sail-8.2/app
  11. extra_hosts:
  12. - 'host.docker.internal:host-gateway'
  13. ports:
  14. - '${APP_PORT:-80}:80'
  15. - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
  16. environment:
  17. WWWUSER: '${WWWUSER}'
  18. LARAVEL_SAIL: 1
  19. XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
  20. XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
  21. IGNITION_LOCAL_SITES_PATH: '${PWD}'
  22. volumes:
  23. - '.:/var/www/html'
  24. networks:
  25. - sail
  26. networks:
  27. sail:
  28. driver: bridge