We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15a5668 + ee93dc7 commit ae31971Copy full SHA for ae31971
compose.dev.yaml
@@ -59,6 +59,8 @@ services:
59
XDEBUG_IDE_KEY: ${XDEBUG_IDE_KEY:-DOCKER}
60
XDEBUG_LOG: /dev/stdout
61
XDEBUG_LOG_LEVEL: 0
62
+ ports:
63
+ - '${VITE_PORT:-5173}:5173'
64
tty: true # Enables an interactive terminal
65
stdin_open: true # Keeps standard input open for 'docker exec'
66
env_file:
vite.config.js
@@ -2,6 +2,12 @@ import { defineConfig } from 'vite';
2
import laravel from 'laravel-vite-plugin';
3
4
export default defineConfig({
5
+ server: {
6
+ host: '0.0.0.0',
7
+ hmr: {
8
+ host: 'localhost',
9
+ }
10
+ },
11
plugins: [
12
laravel({
13
input: ['resources/css/app.css', 'resources/js/app.js'],
0 commit comments