-
-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 681 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (22 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# For more information: https://laravel.com/docs/sail
version: '3'
services:
laravel.test:
image: ghcr.io/mikebronner/sail/php-8.2:latest
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- '${APP_PORT:-80}:80'
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
environment:
WWWUSER: '${WWWUSER:-1000}'
LARAVEL_SAIL: 1
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
volumes:
- '.:/var/www/html'
networks:
- sail
networks:
sail:
driver: bridge