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:
@@ -74,9 +74,9 @@ make up
|
|||||||
|
|
||||||
4. Open:
|
4. Open:
|
||||||
|
|
||||||
- Frontend: `http://localhost:5173`
|
- Frontend: `http://<SERVER_IP>:5173` (or `https://<your-domain>`)
|
||||||
- Backend API: `http://localhost:8000/api/v1`
|
- Backend API: `http://<SERVER_IP>:8000/api/v1` (or `https://<your-domain>/api/v1`)
|
||||||
- OpenAPI docs: `http://localhost:8000/docs`
|
- OpenAPI docs: `http://<SERVER_IP>:8000/docs` (or `https://<your-domain>/docs`)
|
||||||
|
|
||||||
Default initial admin (from `.env`):
|
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`
|
- `FRONTEND_PORT`: Host port mapped to frontend container `80`
|
||||||
- `VITE_API_URL`: API base URL baked into frontend build
|
- `VITE_API_URL`: API base URL baked into frontend build
|
||||||
- Proxy/SSL setup: use `/api/v1`
|
- 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)
|
## API overview (minimum)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user