Build and Deploy Documentation / build (push) Failing after 1m24s
- Set up Docusaurus with pnpm and TypeScript - Structured docs for multi-application portfolio - Added Stock Market Professional documentation: - Architecture & system design - Data monitoring module - Technical analysis engine - Signal generation with constraints (max 3/day, 30min hold) - Added platform architecture overview - Added getting started guide - Added Gitea Actions CI/CD pipeline (build + artifact)
53 lines
2.2 KiB
Markdown
53 lines
2.2 KiB
Markdown
---
|
|
sidebar_position: 1
|
|
---
|
|
|
|
# Platform Architecture
|
|
|
|
## Overview
|
|
|
|
All SKIC Playground applications share a common infrastructure pattern:
|
|
|
|
```
|
|
┌─────────────────────────────────────────────────────┐
|
|
│ TrueNAS SCALE │
|
|
│ │
|
|
│ ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │
|
|
│ │ Gitea │ │ Registry │ │ App Containers │ │
|
|
│ │ + CI/CD │ │ (Zot) │ │ │ │
|
|
│ └──────────┘ └──────────┘ └──────────────────┘ │
|
|
│ │
|
|
│ ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │
|
|
│ │Keycloak │ │ Hermes │ │ Monitoring │ │
|
|
│ │ (Auth) │ │ (Agent) │ │ │ │
|
|
│ └──────────┘ └──────────┘ └──────────────────┘ │
|
|
└─────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
## Shared Services
|
|
|
|
| Service | URL | Purpose |
|
|
|---|---|---|
|
|
| Gitea | gitea.lego-cloud.eu | Source code, CI/CD |
|
|
| Keycloak | keycloak.lego-cloud.eu | Authentication, SSO |
|
|
| Zot Registry | :30264 | Container images |
|
|
| Hermes Agent | Local | AI operations, automation |
|
|
|
|
## CI/CD Pattern
|
|
|
|
All applications follow the same Gitea Actions workflow:
|
|
|
|
1. **Push to main** → Build + Test
|
|
2. **Build container** → Push to Zot registry
|
|
3. **Deploy** → Update running container
|
|
4. **Docs update** → Rebuild documentation site
|
|
|
|
## Repository Structure
|
|
|
|
```
|
|
skic-v1-playground/
|
|
├── documentation/ # This docs site
|
|
├── stock-market-pro/ # (Planned) Trading system
|
|
└── ... # Future applications
|
|
```
|