Files
devops-portal/readme.md
2026-04-07 23:48:47 +03:00

29 lines
782 B
Markdown

## DevOps Portal (prototype)
### Run
```bash
docker compose up --build
```
### URLs
- **Backend health**: `http://localhost:8000/health`
- **Frontend (Streamlit)**: `http://localhost:8501`
### Configuration
- **Ollama**: backend uses `OLLAMA_API_URL` (set in `docker-compose.yml`)
- **Frontend → backend**: frontend uses `BACKEND_BASE_URL` (defaults to `http://backend:8000`)
### Auth + Postgres
Backend uses Postgres at `POSTGRES_HOST` (currently set to `10.10.10.167`) and creates tables automatically on startup.
Set these env vars in `docker-compose.yml` (or override via `.env`):
- `POSTGRES_DB`: `devops_portal`
- `POSTGRES_USER`: `devops_portal`
- `POSTGRES_PASSWORD`: set your real password
- `JWT_SECRET`: set a long random secret (required for token security)