feat: complete dockerization architecture with data/logs persistence and prod export script v1.3.0
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
### [2026-04-11 12:45] v1.3.0: Dockerization & Export Script
|
||||
**Purpose:** Upgraded the system architecture to support seamless dual-mode execution (Dockerized or Bare-Metal/Local). Extracted data and logic persistence layers to external volumes (`/data`, `/logs`). Added a dedicated production compiler.
|
||||
**Actions:**
|
||||
- `backend/database.py` and `users.py` now support `DATA_DIR` environment overrides.
|
||||
- Implemented `backend/logger.py` for standard Python rotating logs mapped to `/app/logs`.
|
||||
- Next.js configured for `standalone` output mode to strictly optimize containerized PWA size.
|
||||
- Orchestrated full environment with `docker-compose.yml`, using Caddy for local self-signed HTTPS termination.
|
||||
- Created `export_prod.sh` to extract a clean release bundle without AI/Dev files (using optimized `rsync`).
|
||||
**Modified Files:**
|
||||
- `backend/database.py`
|
||||
- `backend/routers/users.py`
|
||||
- `backend/logger.py` (New)
|
||||
- `backend/main.py`
|
||||
- `frontend/next.config.mjs`
|
||||
- `frontend/Dockerfile` (New)
|
||||
- `backend/Dockerfile` (New)
|
||||
- `docker-compose.yml` (New)
|
||||
- `Caddyfile` (New)
|
||||
- `export_prod.sh` (New)
|
||||
- `VERSION.json`
|
||||
|
||||
### [2026-04-11 12:35] v1.2.9: Automatic IDE Entry Points
|
||||
**Purpose:** Restored specific ID-based entry points (`GEMINI.md` and `CLAUDE.md`) as "Proxy Pointers" to ensure modern AI extensions (Cursor, Windsurf, Gemini IDE) naturally pick them up as system prompt injections.
|
||||
**Modified Files:**
|
||||
|
||||
Reference in New Issue
Block a user