605 B
605 B
Ports and overriding defaults
The project exposes a few services on host ports. By default the project uses these environment variables (see .env):
APP_PORT— the host port mapped to the container HTTP port (default8080).VITE_PORT— Vite dev server port (default5173).FORWARD_REDIS_PORT/REDIS_PORT— Redis host port (default6380).
To change them, edit .env and restart Sail:
./vendor/bin/sail down
./vendor/bin/sail up -d
If another application uses the same host ports, pick unused ports (for example 8081 or 6381) and update .env accordingly.