Update README with server IP and domain configuration

Replaced `localhost` references with `<SERVER_IP>` or custom domain options. This clarifies instructions for setting up the application on a remote server.
This commit is contained in:
2026-02-12 12:34:49 +01:00
parent c42504beee
commit d76a838bbb

View File

@@ -74,9 +74,9 @@ make up
4. Open:
- Frontend: `http://localhost:5173`
- Backend API: `http://localhost:8000/api/v1`
- OpenAPI docs: `http://localhost:8000/docs`
- Frontend: `http://<SERVER_IP>:5173` (or `https://<your-domain>`)
- Backend API: `http://<SERVER_IP>:8000/api/v1` (or `https://<your-domain>/api/v1`)
- OpenAPI docs: `http://<SERVER_IP>:8000/docs` (or `https://<your-domain>/docs`)
Default initial admin (from `.env`):
@@ -127,7 +127,7 @@ All variables are defined in `.env.example`.
- `FRONTEND_PORT`: Host port mapped to frontend container `80`
- `VITE_API_URL`: API base URL baked into frontend build
- Proxy/SSL setup: use `/api/v1`
- Direct local setup: use `http://localhost:8000/api/v1`
- Direct server setup: use `http://<SERVER_IP>:<BACKEND_PORT>/api/v1`
## API overview (minimum)