17 lines
605 B
Markdown
17 lines
605 B
Markdown
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 (default `8080`).
|
|
- `VITE_PORT` — Vite dev server port (default `5173`).
|
|
- `FORWARD_REDIS_PORT` / `REDIS_PORT` — Redis host port (default `6380`).
|
|
|
|
To change them, edit `.env` and restart Sail:
|
|
|
|
```bash
|
|
./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.
|