docker-compose.stub 870 B

123456789101112131415161718192021222324252627
  1. # For more information: https://laravel.com/docs/sail
  2. services:
  3. laravel.test:
  4. build:
  5. context: ./vendor/laravel/sail/runtimes/{{PHP_VERSION}}
  6. dockerfile: Dockerfile
  7. args:
  8. WWWGROUP: '${WWWGROUP}'
  9. image: sail-{{PHP_VERSION}}/app
  10. extra_hosts:
  11. - 'host.docker.internal:host-gateway'
  12. ports:
  13. - '${APP_PORT:-80}:80'
  14. - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
  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. IGNITION_LOCAL_SITES_PATH: '${PWD}'
  21. volumes:
  22. - '.:/var/www/html'
  23. networks:
  24. - sail
  25. networks:
  26. sail:
  27. driver: bridge