Add Docsify docs server with nginx

Move docs into docs/ directory, add Docsify for markdown rendering.
Standalone Docker stack (nginx:alpine) on port 8090.
wiring.html served as native HTML with correct MIME type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sm
2026-02-25 19:15:21 +03:00
parent c76ca89cc9
commit 1de3ffa1d7
8 changed files with 324 additions and 24 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
docs:
image: nginx:alpine
container_name: smart-trainer-docs
restart: unless-stopped
mem_limit: 64m
ports:
- "8090:80"
volumes:
- ./docs:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:80/"]
interval: 30s
timeout: 5s
retries: 3